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().
This commit is contained in:
Carlos Garnacho 2011-02-17 20:43:31 +01:00
parent 3100b76ba9
commit 3f78b251b9

View File

@ -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;