[gtk+/gtk-3-10] Fix double-free introduced in f86dc163
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] Fix double-free introduced in f86dc163
- Date: Fri, 11 Oct 2013 17:54:42 +0000 (UTC)
commit 5c820fe22d7484f1f09ebe4c59491c1c5dde34d7
Author: John Ralls <jralls ceridwen us>
Date: Fri Oct 11 10:40:26 2013 -0700
Fix double-free introduced in f86dc163
gtk/gtkdnd-quartz.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index 1ec5db5..11a4855 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -1263,7 +1263,7 @@ gtk_drag_begin_internal (GtkWidget *widget,
window = [(id<GdkNSView>)[nswindow contentView] gdkWindow];
g_return_val_if_fail (nsevent != NULL, NULL);
- context = gdk_drag_begin (window, target_list->list);
+ context = gdk_drag_begin (window, g_list_copy (target_list->list));
g_return_val_if_fail (context != NULL, NULL);
info = gtk_drag_get_source_info (context, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]