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
This commit is contained in:
Sebastian Keller 2020-01-24 14:00:33 +01:00 committed by Georges Basile Stavracas Neto
parent f0c92646eb
commit 51733ca499

View File

@ -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