forked from AuroraMiddleware/gtk
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:
parent
3100b76ba9
commit
3f78b251b9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user