[Fontconfig] fontconfig: Branch 'master'
Akira TAGOH
tagoh at kemper.freedesktop.org
Wed Jun 17 00:35:46 PDT 2015
src/fcfreetype.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6f929ff37ce277a12256b918751e2f3fca2fcb8a
Author: Akira TAGOH <akira at tagoh.org>
Date: Wed Jun 17 16:34:29 2015 +0900
Fix a memory leak in FcFreeTypeQueryFace
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 809ff29..73c8809 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -1878,6 +1878,8 @@ FcFreeTypeQueryFace (const FT_Face face,
* Drop our reference to the charset
*/
FcCharSetDestroy (cs);
+ if (foundry_)
+ free (foundry_);
return pat;
More information about the Fontconfig
mailing list