diff --git a/src/fcxml.c b/src/fcxml.c index c69ee50..4f984a7 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -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: