[gtk+/gtk-3-10] icon-theme: Fix 2 memory leaks in GtkIconInfo
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] icon-theme: Fix 2 memory leaks in GtkIconInfo
- Date: Wed, 2 Oct 2013 15:26:00 +0000 (UTC)
commit 0eccb06cb2250184e2684562fbace74b1cf5b1ae
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 e163d43..d912687 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -3416,7 +3416,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]