Do not leak FamilyData in Android SkFontMgr.
authorbungeman <bungeman@google.com>
Fri, 30 Jan 2015 23:24:49 +0000 (15:24 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 30 Jan 2015 23:24:49 +0000 (15:24 -0800)
commit7a3527d7a307c62432cc81ce497a174b15f62d68
treeafa97f6717c0ab5de69a2662c8374334916922eb
parent418149250a1ba720fa8046f8a25434c5c60744cc
Do not leak FamilyData in Android SkFontMgr.

Currently, it appears one FamilyData is leaking per scanned file.
This also cleans up the hanging currentFamily memory management.

Review URL: https://codereview.chromium.org/889943005
src/ports/SkFontConfigParser_android.cpp