mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
backends/x11: Fix memory leak in meta_x11_handle_event()
The event was leaked after it had been processed. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2192>
This commit is contained in:
parent
3941597485
commit
97dd5d8877
@ -103,6 +103,7 @@ meta_x11_handle_event (XEvent *xevent)
|
||||
{
|
||||
/* forward the event into clutter for emission etc. */
|
||||
clutter_do_event (event);
|
||||
clutter_event_free (event);
|
||||
--spin;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user