[gtk+/gtk-3-14] GtkPlacesSidebar: Don't leak an icon
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] GtkPlacesSidebar: Don't leak an icon
- Date: Fri, 17 Oct 2014 00:31:44 +0000 (UTC)
commit 06842a2dc5e7e41e87ee3568ed90a032266fe991
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 14 23:59:51 2014 -0400
GtkPlacesSidebar: Don't leak an icon
Found in valgrind.
gtk/gtkplacessidebar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 38b4657..c811dc1 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]