fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 src/fcfreetype.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6f929ff37ce277a12256b918751e2f3fca2fcb8a
Author: Akira TAGOH <akira@xxxxxxxxx>
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;
 
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux