mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
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)
|
||||
{
|
||||
ClutterEvent *event = clutter_event_get ();
|
||||
|
||||
if (event)
|
||||
clutter_do_event (event);
|
||||
{
|
||||
clutter_do_event (event);
|
||||
clutter_event_free (event);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user