don't destroy font patterns, i think this is a double free

This commit is contained in:
Dana Jansens 2003-06-28 17:29:23 +00:00
parent b23fa507a8
commit 1bb7a5f883

View file

@ -57,7 +57,6 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
return NULL;
match = XftFontMatch(RrDisplay(inst), RrScreen(inst), pat, &res);
FcPatternDestroy(pat);
if (!match)
return NULL;