mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
backend: Destroy stage when destroying backend
Otherwise we leak it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775>
This commit is contained in:
parent
c5f699b8b3
commit
c3aa32987a
@ -247,6 +247,7 @@ meta_backend_dispose (GObject *object)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
g_clear_pointer (&priv->default_seat, clutter_seat_destroy);
|
g_clear_pointer (&priv->default_seat, clutter_seat_destroy);
|
||||||
|
g_clear_pointer (&priv->stage, clutter_actor_destroy);
|
||||||
g_clear_pointer (&priv->clutter_backend, clutter_backend_destroy);
|
g_clear_pointer (&priv->clutter_backend, clutter_backend_destroy);
|
||||||
|
|
||||||
G_OBJECT_CLASS (meta_backend_parent_class)->dispose (object);
|
G_OBJECT_CLASS (meta_backend_parent_class)->dispose (object);
|
||||||
|
Loading…
Reference in New Issue
Block a user