From: Dana Jansens Date: Thu, 26 Jun 2003 17:51:52 +0000 (+0000) Subject: dont destroy the match pattern, it seems that Xft holds onto the pointer X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=15c77071814d2325ebc1cbb6b84f01f4b8cb7184;p=chaz%2Fopenbox dont destroy the match pattern, it seems that Xft holds onto the pointer --- 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;