[Fontconfig] fontconfig: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Fri Jan 5 14:33:59 UTC 2018


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

New commits:
commit 030e2e4e9473532de5ef6bf4c7905bdf653dc6ef
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Jan 5 14:33:17 2018 +0000

    Fix leak

diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 461fbf9..22d651d 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -2170,6 +2170,7 @@ skip:
     } while (!err && (!index_set || face_num == set_face_num) && face_num < num_faces);
 
 bail:
+    free (mm_var);
     FcLangSetDestroy (ls);
     FcCharSetDestroy (cs);
     if (face)


More information about the Fontconfig mailing list