summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-06-20 12:52:00 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-06-20 13:00:27 (GMT)
commit94db89e69c3b08db111f6434dcc7a7d39f756574 (patch)
tree588e1529248e13d6801cd2f55c711dbbba0dced5
parent429f0507a68f4aa686449308af770ce5cf2c913f (diff)
downloadQt-94db89e69c3b08db111f6434dcc7a7d39f756574.zip
Qt-94db89e69c3b08db111f6434dcc7a7d39f756574.tar.gz
Qt-94db89e69c3b08db111f6434dcc7a7d39f756574.tar.bz2
No need to destroy match pattern again
It is already freed in QFontEngineX11FT constructor. Reviewed-by: Eskil
-rw-r--r--src/gui/text/qfontengine_x11.cpp1
1 files changed, 0 insertions, 1 deletions
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;
}