From b26442f48520a1e04bcb259e3694b3ee3471e124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 6 Oct 2011 12:50:22 +0200 Subject: [PATCH] Fixed crash due to uninitialized pointer in OpenGL texture glyph cache. Change-Id: I384f82f1549a81e19566484e12c75ce8df1f314f Reviewed-on: http://codereview.qt-project.org/6149 Reviewed-by: Qt Sanity Bot Reviewed-by: Lars Knoll Reviewed-by: Gunnar Sletta --- src/gui/opengl/qopengltextureglyphcache.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp index ffce6f55bb7..bfeef5a6851 100644 --- a/src/gui/opengl/qopengltextureglyphcache.cpp +++ b/src/gui/opengl/qopengltextureglyphcache.cpp @@ -53,6 +53,7 @@ QBasicAtomicInt qopengltextureglyphcache_serial_number = Q_BASIC_ATOMIC_INITIALI QOpenGLTextureGlyphCache::QOpenGLTextureGlyphCache(QFontEngineGlyphCache::Type type, const QTransform &matrix) : QImageTextureGlyphCache(type, matrix) + , m_textureResource(0) , pex(0) , m_blitProgram(0) , m_filterMode(Nearest)