Fix a memory leak in FcFreeTypeQueryFace

This commit is contained in:
Akira TAGOH 2015-06-17 16:34:29 +09:00
parent 46b2c62faa
commit 6f929ff37c
1 changed files with 2 additions and 0 deletions

View File

@ -1878,6 +1878,8 @@ FcFreeTypeQueryFace (const FT_Face face,
* Drop our reference to the charset
*/
FcCharSetDestroy (cs);
if (foundry_)
free (foundry_);
return pat;