diff options
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; } |