summaryrefslogtreecommitdiff
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:26:21 +0900
commitb5016e3018994cf6595ef2e3ae4569e1bf760c9e (patch)
tree15d8815830396d61311cd033635490d1db9ae088
parentffee275e527404c698f366911ca94dbde5e05142 (diff)
src/fcxml.c: avoid double free() of filename
It's also freed after bail1, so no need to do it here.
-rw-r--r--src/fcxml.c1
1 files changed, 0 insertions, 1 deletions
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;
}