dont destroy the match pattern, it seems that Xft holds onto the pointer

This commit is contained in:
Dana Jansens 2003-06-26 17:51:52 +00:00
parent 22112d2b4e
commit 15c7707181

View file

@ -79,7 +79,6 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
out->tint = tint; out->tint = tint;
font = XftFontOpenPattern(RrDisplay(inst), match); font = XftFontOpenPattern(RrDisplay(inst), match);
FcPatternDestroy(match);
if (!font) { if (!font) {
g_free(out); g_free(out);
return NULL; return NULL;