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