Fix small leak.

svn path=/trunk/KDE/kdebase/workspace/; revision=925150
This commit is contained in:
Luboš Luňák 2009-02-12 15:25:47 +00:00
parent 73b947b1ca
commit 11290257b2

View file

@ -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 );
}