Fix a memory leak

This commit is contained in:
Akira TAGOH 2012-12-11 12:38:42 +09:00
parent 5ea3118ad6
commit 58040349e8
1 changed files with 1 additions and 0 deletions

View File

@ -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)