main: Make sure to free any events that we get from Clutter

This commit is contained in:
Jasper St. Pierre 2014-01-29 12:38:13 -05:00
parent 9c876722a0
commit c3b0faec82

View File

@ -302,8 +302,12 @@ event_dispatch (GSource *source,
gpointer user_data)
{
ClutterEvent *event = clutter_event_get ();
if (event)
{
clutter_do_event (event);
clutter_event_free (event);
}
return TRUE;
}