[Xfce4-commits] <xfwm4:xfce-4.8> Memory leak in pixmap code

Olivier Fourdan noreply at xfce.org
Fri Oct 28 16:46:02 CEST 2011


Updating branch refs/heads/xfce-4.8
         to ad2f24f48b47aa0f64854e5d8be78b8a7b5c7b68 (commit)
       from f0144a0eaafbd36c8cb2bafd605d255c54ef410c (commit)

commit ad2f24f48b47aa0f64854e5d8be78b8a7b5c7b68
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Fri Oct 28 16:13:12 2011 +0200

    Memory leak in pixmap code

 src/mypixmap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mypixmap.c b/src/mypixmap.c
index aea0cd2..bfec217 100644
--- a/src/mypixmap.c
+++ b/src/mypixmap.c
@@ -976,6 +976,7 @@ xfwmPixmapLoad (ScreenInfo * screen_info, xfwmPixmap * pm, const gchar * dir, co
 #ifdef HAVE_RENDER
     xfwmPixmapRefreshPict (pm);
 #endif
+    g_object_unref (pixbuf);
 
     return TRUE;
 }


More information about the Xfce4-commits mailing list