Fix double-free
This commit is contained in:
parent
3ea70f9368
commit
14c23a5715
|
@ -2780,7 +2780,10 @@ FcParseAcceptRejectFont (FcConfigParse *parse, FcElement element)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (parse->scanOnly && vstack->u.string)
|
if (parse->scanOnly && vstack->u.string)
|
||||||
|
{
|
||||||
FcStrFree (vstack->u.string);
|
FcStrFree (vstack->u.string);
|
||||||
|
vstack->tag = FcVStackNone;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case FcVStackPattern:
|
case FcVStackPattern:
|
||||||
|
|
Loading…
Reference in New Issue