mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
window-actor/wayland: Fix child actor list leak on dispose
The list returned by clutter_actor_get_children() is caller owned. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2193>
This commit is contained in:
parent
b596de2680
commit
3941597485
@ -155,7 +155,7 @@ meta_window_actor_wayland_dispose (GObject *object)
|
||||
MetaWindowActor *window_actor = META_WINDOW_ACTOR (object);
|
||||
MetaSurfaceActor *surface_actor =
|
||||
meta_window_actor_get_surface (window_actor);
|
||||
GList *children;
|
||||
g_autoptr (GList) children = NULL;
|
||||
GList *l;
|
||||
|
||||
children = clutter_actor_get_children (CLUTTER_ACTOR (window_actor));
|
||||
|
Loading…
Reference in New Issue
Block a user