summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-10-14 23:59:51 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-10-14 23:59:51 -0400
commitc26b2c920935d59cc72e562821eabe0cd22c4921 (patch)
tree3d94d7416d1eb81a2b17167dc16ba1aabe5423b5 /gtk/gtkplacessidebar.c
parent2eacaf2dd2e2ea23f5a842684b26a5446aece527 (diff)
downloadgtk+-c26b2c920935d59cc72e562821eabe0cd22c4921.tar.gz
GtkPlacesSidebar: Don't leak an icon
Found in valgrind.
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r--gtk/gtkplacessidebar.c1
1 files changed, 1 insertions, 0 deletions
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);