Commit 14c23a57 authored by Akira TAGOH's avatar Akira TAGOH
Browse files

Fix double-free

parent 3ea70f93
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment