[gtk+/gtk-3-8] icon-theme: Fix 2 memory leaks in GtkIconInfo



commit 0764f75dee4fa65867319838560ae04a280330ac
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 2 14:30:14 2013 +0200

    icon-theme: Fix 2 memory leaks in GtkIconInfo
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709264

 gtk/gtkicontheme.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 87c41ef..011a44c 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -3149,7 +3149,9 @@ gtk_icon_info_finalize (GObject *object)
   g_clear_object (&icon_info->loadable);
   g_slist_free_full (icon_info->emblem_infos, (GDestroyNotify) g_object_unref);
   g_clear_object (&icon_info->pixbuf);
+  g_clear_object (&icon_info->proxy_pixbuf);
   g_clear_object (&icon_info->cache_pixbuf);
+  g_clear_error (&icon_info->load_error);
   g_clear_pointer (&icon_info->symbolic_pixbuf_size, gtk_requisition_free);
   icon_data_unref (icon_info->data);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]