From 1bb7a5f8838bff12d846718330bb72a38f5f34df Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 28 Jun 2003 17:29:23 +0000 Subject: [PATCH] don't destroy font patterns, i think this is a double free --- render/font.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.45.2