From 97dd5d887718ebf575505091eae05735a88cb5a5 Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Sun, 2 Jan 2022 03:55:14 +0100 Subject: [PATCH] backends/x11: Fix memory leak in meta_x11_handle_event() The event was leaked after it had been processed. Part-of: --- src/backends/x11/meta-event-x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/x11/meta-event-x11.c b/src/backends/x11/meta-event-x11.c index d230a3406..e6483a815 100644 --- a/src/backends/x11/meta-event-x11.c +++ b/src/backends/x11/meta-event-x11.c @@ -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; }