From 51733ca4996f128b2701258411f0cc5cf00830a4 Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Fri, 24 Jan 2020 14:00:33 +0100 Subject: [PATCH] window/wayland: Plug window configuration leak The acked configuration is removed from the pending configuration list by acquire_acked_configuration(), but finish_move_resize() does not free the data after applying the configuration. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1020 --- src/wayland/meta-window-wayland.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/meta-window-wayland.c b/src/wayland/meta-window-wayland.c index 5a73de4c4..7c8bcff42 100644 --- a/src/wayland/meta-window-wayland.c +++ b/src/wayland/meta-window-wayland.c @@ -864,6 +864,8 @@ meta_window_wayland_finish_move_resize (MetaWindow *window, gravity = meta_resize_gravity_from_grab_op (window->display->grab_op); meta_window_move_resize_internal (window, flags, gravity, rect); + + g_clear_pointer (&acked_configuration, meta_wayland_window_configuration_free); } void