Commit 3f78b251 authored by Carlos Garnacho's avatar Carlos Garnacho

Free event axes for double/triple click events.

The button event axes are copied over when synthesizing
these events, so free them as well in gdk_event_free().
parent 3100b76b
......@@ -632,6 +632,8 @@ gdk_event_free (GdkEvent *event)
break;
case GDK_BUTTON_PRESS:
case GDK_2BUTTON_PRESS:
case GDK_3BUTTON_PRESS:
case GDK_BUTTON_RELEASE:
g_free (event->button.axes);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment