main: Make sure to free any events that we get from Clutter
This commit is contained in:
parent
aab354b72b
commit
f3908bb0b8
@ -285,8 +285,12 @@ event_dispatch (GSource *source,
|
|||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
ClutterEvent *event = clutter_event_get ();
|
ClutterEvent *event = clutter_event_get ();
|
||||||
|
|
||||||
if (event)
|
if (event)
|
||||||
|
{
|
||||||
clutter_do_event (event);
|
clutter_do_event (event);
|
||||||
|
clutter_event_free (event);
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user