fontconfig: Branch 'master'

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

 



 src/fcdir.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit ea1c6ea337b8cf6b86169b565787d0d31a0fc330
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Tue Mar 27 21:06:36 2012 +0900

    Fix a memory leak in FcDirScanConfig()

diff --git a/src/fcdir.c b/src/fcdir.c
index d8b094f..4399afc 100644
--- a/src/fcdir.c
+++ b/src/fcdir.c
@@ -211,6 +211,9 @@ bail2:
 bail1:
     closedir (d);
 bail:
+    if (file)
+	free (file);
+
     return ret;
 }
 
_______________________________________________
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