diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 20:16:13 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 20:16:13 +0000 |
commit | 084820e2662059decc9b3281b37c05ae55a13da0 (patch) | |
tree | 8c0d10847e20098d9c173c6350c91dad90396571 /skia | |
parent | fba834fe6b6bbc8a80b6d11f27261d7a68dc61f0 (diff) | |
download | chromium_src-084820e2662059decc9b3281b37c05ae55a13da0.zip chromium_src-084820e2662059decc9b3281b37c05ae55a13da0.tar.gz chromium_src-084820e2662059decc9b3281b37c05ae55a13da0.tar.bz2 |
Linux: fix memory leak in new SkFontHost code.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/SkFontHost_fontconfig_direct.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skia/ext/SkFontHost_fontconfig_direct.cpp b/skia/ext/SkFontHost_fontconfig_direct.cpp index 5297feb..f5d38c6 100644 --- a/skia/ext/SkFontHost_fontconfig_direct.cpp +++ b/skia/ext/SkFontHost_fontconfig_direct.cpp @@ -166,6 +166,8 @@ bool FontConfigDirect::Match(std::string* result_family, if (result_family) *result_family = (char *) c_family; + FcPatternDestroy(match); + return true; } |