fontconfig: Branch 'master'

[email protected] (Akira TAGOH)
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
 src/fcxml.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 90271ae0798dfbdb0d9dce85caf914bee99eca4e
Author: Alexander Kanavin <[email protected]>
Date:   Wed Oct 11 17:40:09 2017 +0300

    src/fcxml.c: avoid double free() of filename
    
    It's also freed after bail1, so no need to do it here.

diff --git a/src/fcxml.c b/src/fcxml.c
index ce17b64..0cf6ee5 100644
--- a/src/fcxml.c
+++ b/src/fcxml.c
@@ -3344,7 +3344,6 @@ FcConfigParseAndLoad (FcConfig	    *config,
 
     fd = FcOpen ((char *) filename, O_RDONLY);
     if (fd == -1) {
-	FcStrFree (filename);
 	goto bail1;
     }
 
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.