[gnome-control-center/gnome-3-8] background: Fix leak of the preview	picture
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-control-center/gnome-3-8] background: Fix leak of the preview	picture
- Date: Wed,  2 Oct 2013 17:04:51 +0000 (UTC)
commit fc4be32b76f56d5fd8019d84f2082f65aa49e91b
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 2 13:36:19 2013 +0200
    background: Fix leak of the preview picture
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709243
 panels/background/cc-background-panel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index b0c75b2..88a9aa7 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -228,6 +228,7 @@ update_display_preview (CcBackgroundPanel *panel)
                                    pixbuf,
                                    0, 0);
       cairo_paint (cr);
+      g_object_unref (pixbuf);
     }
 
   cairo_destroy (cr);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]