From: Dana Jansens Date: Sat, 28 Jun 2003 17:29:23 +0000 (+0000) Subject: don't destroy font patterns, i think this is a double free X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1bb7a5f8838bff12d846718330bb72a38f5f34df;p=chaz%2Fopenbox don't destroy font patterns, i think this is a double free --- diff --git a/render/font.c b/render/font.c index 922bdb7e..066f4771 100644 --- a/render/font.c +++ b/render/font.c @@ -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;