diff options
author | John Ralls <jralls@ceridwen.us> | 2013-10-11 10:40:26 -0700 |
---|---|---|
committer | John Ralls <jralls@ceridwen.us> | 2013-10-11 10:54:15 -0700 |
commit | d0065270ac1ec01f597a924d157ad2f1d50f3580 (patch) | |
tree | 15a8b82a4fbb56df842e15cf05f6f382dcac3af3 /gtk/gtkdnd-quartz.c | |
parent | b33877e1737a7799b29f5b3a3d291e55e95e8436 (diff) | |
download | gtk+-d0065270ac1ec01f597a924d157ad2f1d50f3580.tar.gz |
Fix double-free introduced in f86dc163
Diffstat (limited to 'gtk/gtkdnd-quartz.c')
-rw-r--r-- | 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 1ec5db5c0e..11a4855f1a 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); |