summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index dd512bc0cf..975e3f0793 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -3277,6 +3277,9 @@ gtk_drag_source_info_destroy (GtkDragSourceInfo *info)
gtk_drag_clear_source_info (info->context);
g_object_unref (info->context);
+
+ if (info->last_event)
+ gdk_event_free (info->last_event);
}
static gboolean