Fix memory leak

This commit is contained in:
Akira TAGOH 2018-07-25 13:41:47 +09:00
parent 5b277806df
commit 9f1b92f27f
1 changed files with 2 additions and 0 deletions

View File

@ -1837,6 +1837,8 @@ FcParseAlias (FcConfigParse *parse)
!def)
{
FcExprDestroy (family);
if (rule)
FcRuleDestroy (rule);
return;
}
else