dont destroy the match pattern, it seems that Xft holds onto the pointer
This commit is contained in:
parent
22112d2b4e
commit
15c7707181
1 changed files with 0 additions and 1 deletions
|
@ -79,7 +79,6 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
|
|||
out->tint = tint;
|
||||
|
||||
font = XftFontOpenPattern(RrDisplay(inst), match);
|
||||
FcPatternDestroy(match);
|
||||
if (!font) {
|
||||
g_free(out);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue