[gtk+] Fix a memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a memory leak
- Date: Tue, 14 Jan 2014 03:22:54 +0000 (UTC)
commit 0de11736001d5c5311bd1238accadb69b08061a3
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 13 22:22:29 2014 -0500
Fix a memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=722029
gtk/gtkplacessidebar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 9562dd8..6d6184f 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -3870,6 +3870,7 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
target_list = gtk_target_list_new (dnd_drop_targets, G_N_ELEMENTS (dnd_drop_targets));
gtk_target_list_add_uri_targets (target_list, TEXT_URI_LIST);
gtk_drag_dest_set_target_list (GTK_WIDGET (tree_view), target_list);
+ gtk_target_list_unref (target_list);
g_signal_connect (tree_view, "key-press-event",
G_CALLBACK (bookmarks_key_press_event_cb), sidebar);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]