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 aab354b72b
commit f3908bb0b8

View File

@ -285,8 +285,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;
}