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