summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-01-29 21:38:54 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-01-29 21:38:54 +0000
commitd09007458dbc5661ac94eeaf4154340dc8219736 (patch)
tree1d75069bf36248a212173aab7b7e5d64fb32525a /gnome-extra/gnome-screensaver/files
parentInitial commit. Fixes bug 238038 (diff)
downloadhistorical-d09007458dbc5661ac94eeaf4154340dc8219736.tar.gz
historical-d09007458dbc5661ac94eeaf4154340dc8219736.tar.bz2
historical-d09007458dbc5661ac94eeaf4154340dc8219736.zip
Bump to 2.24.1-r1. Fix pixmap leak, bug #253581.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra/gnome-screensaver/files')
-rw-r--r--gnome-extra/gnome-screensaver/files/gnome-screensaver-2.24.1-pixmap-leak.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.24.1-pixmap-leak.patch b/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.24.1-pixmap-leak.patch
new file mode 100644
index 000000000000..b64077fe6db4
--- /dev/null
+++ b/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.24.1-pixmap-leak.patch
@@ -0,0 +1,14 @@
+diff -up gnome-screensaver-2.25.1/src/gs-window-x11.c.pixmap-leak gnome-screensaver-2.25.1/src/gs-window-x11.c
+--- gnome-screensaver-2.25.1/src/gs-window-x11.c.pixmap-leak 2008-12-14 22:16:01.000000000 -0500
++++ gnome-screensaver-2.25.1/src/gs-window-x11.c 2008-12-14 22:16:34.000000000 -0500
+@@ -2287,6 +2287,10 @@ gs_window_finalize (GObject *object)
+
+ gs_window_dialog_finish (window);
+
++ if (window->priv->background_pixmap) {
++ g_object_unref (window->priv->background_pixmap);
++ }
++
+ G_OBJECT_CLASS (gs_window_parent_class)->finalize (object);
+ }
+