From 4325d130387e1627dabca2a539e408e770cf59f9 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 11 Oct 2017 17:40:09 +0300 Subject: [PATCH] src/fcxml.c: avoid double free() of filename It's also freed after bail1, so no need to do it here. --- src/fcxml.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.14.1