src/fcxml.c: avoid double free() of filename
It's also freed after bail1, so no need to do it here.
This commit is contained in:
parent
f4a2a1e577
commit
90271ae079
|
@ -3344,7 +3344,6 @@ FcConfigParseAndLoad (FcConfig *config,
|
||||||
|
|
||||||
fd = FcOpen ((char *) filename, O_RDONLY);
|
fd = FcOpen ((char *) filename, O_RDONLY);
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
FcStrFree (filename);
|
|
||||||
goto bail1;
|
goto bail1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue