From 90271ae0798dfbdb0d9dce85caf914bee99eca4e 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 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; }