From a42ccaa4ba09b018b7cc7e57af76085769a424ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 27 Aug 2008 13:21:20 +0000 Subject: [PATCH] Virtuals don't work normally in dtors, call in overriden dtor too. svn path=/trunk/KDE/kdebase/workspace/; revision=853290 --- scene_opengl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index aa31b1bd31..2220bb7203 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -854,6 +854,7 @@ SceneOpenGL::Texture::Texture( const Pixmap& pix, const QSize& size, int depth ) SceneOpenGL::Texture::~Texture() { + discard(); } void SceneOpenGL::Texture::init()