Fix a memory leak
This commit is contained in:
parent
5ea3118ad6
commit
58040349e8
|
@ -1861,6 +1861,7 @@ FcParseDir (FcConfigParse *parse)
|
||||||
if (!data)
|
if (!data)
|
||||||
{
|
{
|
||||||
FcConfigMessage (parse, FcSevereError, "out of memory");
|
FcConfigMessage (parse, FcSevereError, "out of memory");
|
||||||
|
data = prefix;
|
||||||
goto bail;
|
goto bail;
|
||||||
}
|
}
|
||||||
if (prefix)
|
if (prefix)
|
||||||
|
|
Loading…
Reference in New Issue