[mutter] backend: Destroy stage when destroying backend
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backend: Destroy stage when destroying backend
- Date: Sat, 13 Mar 2021 19:23:47 +0000 (UTC)
commit c3aa32987a15ba22709cf9b34fa3480af14b354b
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Mar 12 08:41:02 2021 +0100
backend: Destroy stage when destroying backend
Otherwise we leak it.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775>
src/backends/meta-backend.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c
index aa256f56a5..f0f9d8077d 100644
--- a/src/backends/meta-backend.c
+++ b/src/backends/meta-backend.c
@@ -247,6 +247,7 @@ meta_backend_dispose (GObject *object)
#endif
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_OBJECT_CLASS (meta_backend_parent_class)->dispose (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]