summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2017-10-11 17:40:09 +0300
committerAkira TAGOH <akira@tagoh.org>2017-10-12 11:27:07 +0900
commit90271ae0798dfbdb0d9dce85caf914bee99eca4e (patch)
tree846876d23e6d7d64f7bac6ef110616d137922d6d /src
parentf4a2a1e577f6d6fe40469fb0ab68eb0b5f42465c (diff)
src/fcxml.c: avoid double free() of filename
It's also freed after bail1, so no need to do it here.
Diffstat (limited to 'src')
-rw-r--r--src/fcxml.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fcxml.c b/src/fcxml.c
index ce17b648..0cf6ee54 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;
}