From de8fa6c8836648b1d6e9cd215eb0b6f240ef71e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 30 May 2007 15:09:06 +0000 Subject: [PATCH] Clean up also the overlay window on failure. svn path=/trunk/KDE/kdebase/workspace/; revision=669838 --- scene_opengl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index c6acae07fc..b648476da2 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -157,6 +157,7 @@ SceneOpenGL::~SceneOpenGL() if( !init_ok ) { // TODO this probably needs to clean up whatever has been created until the failure + wspace->destroyOverlay(); return; } foreach( Window* w, windows )