fontconfig: Branch 'fc-2-12'

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

 



 src/fcxml.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit b5016e3018994cf6595ef2e3ae4569e1bf760c9e
Author: Alexander Kanavin <alex.kanavin@xxxxxxxxx>
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 19ce96a..edb6054 100644
--- a/src/fcxml.c
+++ b/src/fcxml.c
@@ -3398,7 +3398,6 @@ FcConfigParseAndLoad (FcConfig	    *config,
 
     fd = FcOpen ((char *) filename, O_RDONLY);
     if (fd == -1) {
-	FcStrFree (filename);
 	goto bail1;
     }
 
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://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