don't destroy font patterns, i think this is a double free
This commit is contained in:
parent
b23fa507a8
commit
1bb7a5f883
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue