From 15c77071814d2325ebc1cbb6b84f01f4b8cb7184 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 26 Jun 2003 17:51:52 +0000 Subject: [PATCH] dont destroy the match pattern, it seems that Xft holds onto the pointer --- render/font.c | 1 - 1 file changed, 1 deletion(-) diff --git a/render/font.c b/render/font.c index 2fce1dd4..922bdb7e 100644 --- a/render/font.c +++ b/render/font.c @@ -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; -- 2.45.2