Fix memory leak
This commit is contained in:
parent
5b277806df
commit
9f1b92f27f
|
@ -1837,6 +1837,8 @@ FcParseAlias (FcConfigParse *parse)
|
||||||
!def)
|
!def)
|
||||||
{
|
{
|
||||||
FcExprDestroy (family);
|
FcExprDestroy (family);
|
||||||
|
if (rule)
|
||||||
|
FcRuleDestroy (rule);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue