[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/systray-refactor/protocols/fdo
From: Fredrik Höglund <fredrik () kde ! org>
Date: 2008-10-06 23:27:40
Message-ID: 1223335660.642853.31567.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 868728 by fredrik:
Don't leak the picture.
Pixmaps are refcounted, so if you leak the picture, you leak the pixmap.
M +1 -0 x11embedcontainer.cpp
--- trunk/playground/base/plasma/applets/systray-refactor/protocols/fdo/x11embedcontainer.cpp \
#868727:868728 @@ -181,6 +181,7 @@
XSetWindowBackgroundPixmap(display, q->clientWinId(), bg);
XFreePixmap(display, bg);
+ XRenderFreePicture(display, picture);
sendExposeToClient();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic