From c26b2c920935d59cc72e562821eabe0cd22c4921 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 14 Oct 2014 23:59:51 -0400 Subject: [PATCH] GtkPlacesSidebar: Don't leak an icon Found in valgrind. --- gtk/gtkplacessidebar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 2448ad17f9..c6d53f7358 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -897,6 +897,7 @@ on_bookmark_query_info_complete (GObject *source, g_free (mount_uri); g_free (tooltip); g_free (bookmark_name); + g_object_unref (icon); out: g_clear_object (&info);