From 94db89e69c3b08db111f6434dcc7a7d39f756574 Mon Sep 17 00:00:00 2001 From: Jiang Jiang Date: Mon, 20 Jun 2011 14:52:00 +0200 Subject: No need to destroy match pattern again It is already freed in QFontEngineX11FT constructor. Reviewed-by: Eskil --- src/gui/text/qfontengine_x11.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/text/qfontengine_x11.cpp b/src/gui/text/qfontengine_x11.cpp index c4ed0ca..74c0130 100644 --- a/src/gui/text/qfontengine_x11.cpp +++ b/src/gui/text/qfontengine_x11.cpp @@ -946,7 +946,6 @@ void QFontEngineMultiFT::loadEngine(int at) fontEngine = engineForPattern(match, request, screen); QFontCache::instance()->insertEngine(key, fontEngine); } - FcPatternDestroy(match); fontEngine->ref.ref(); engines[at] = fontEngine; } -- cgit v0.12