[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Tue Mar 27 05:06:50 PDT 2012


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

New commits:
commit ea1c6ea337b8cf6b86169b565787d0d31a0fc330
Author: Akira TAGOH <akira at tagoh.org>
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;
 }
 


More information about the Fontconfig mailing list