[grisbi-devel] [PATCH 12/15] Fix a GdkPixbuf leak in gsb_file_load_logo_accueil()

RĂ©mi Cardona remi at gentoo.org
Sat Mar 9 16:54:04 CET 2013


---
 src/gsb_file_load.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gsb_file_load.c b/src/gsb_file_load.c
index 9d29914..087b101 100644
--- a/src/gsb_file_load.c
+++ b/src/gsb_file_load.c
@@ -5409,6 +5409,7 @@ void gsb_file_load_logo_accueil ( const gchar **attribute_names,
 
             gtk_window_set_default_icon ( pixbuf );
             gsb_select_icon_set_logo_pixbuf ( pixbuf );
+            g_object_unref ( G_OBJECT ( pixbuf ) );
             i++;
             continue;
         }
-- 
1.8.1.4



More information about the devel mailing list