From 11290257b2eeb1fea68093003d2285804cc115d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 12 Feb 2009 15:25:47 +0000 Subject: [PATCH] Fix small leak. svn path=/trunk/KDE/kdebase/workspace/; revision=925150 --- scene_xrender.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene_xrender.cpp b/scene_xrender.cpp index 35a7e5ffc5..c2d5b7a5e6 100644 --- a/scene_xrender.cpp +++ b/scene_xrender.cpp @@ -219,6 +219,7 @@ void SceneXrender::selfCheckSetup() QRect rect( p.x(), p.y(), selfCheckWidth(), selfCheckHeight()); XRenderComposite( display(), PictOpSrc, pic, None, buffer, 0, 0, 0, 0, rect.x(), rect.y(), rect.width(), rect.height()); + XRenderFreePicture( display(), pic ); XFreePixmap( display(), wpix ); XDestroyWindow( display(), window ); }