summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ã…dahl <jadahl@gmail.com>2023-04-17 15:17:16 +0200
committerMarge Bot <marge-bot@gnome.org>2023-04-17 19:53:35 +0000
commit9252131348e7689b1a2fc63cdc85e56cb8a603ab (patch)
tree3459e7a8f6507f4c7c25dc2ac85c98d4b50ce51f
parenta7a7933e03a19e82907c29814dcd18647a777e7c (diff)
downloadmutter-9252131348e7689b1a2fc63cdc85e56cb8a603ab.tar.gz
cursor-tracker: Don't leak window cursor on exit
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2968>
-rw-r--r--src/backends/meta-cursor-tracker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backends/meta-cursor-tracker.c b/src/backends/meta-cursor-tracker.c
index f7815e567..b0a5d14e4 100644
--- a/src/backends/meta-cursor-tracker.c
+++ b/src/backends/meta-cursor-tracker.c
@@ -263,6 +263,7 @@ meta_cursor_tracker_dispose (GObject *object)
g_clear_object (&priv->effective_cursor);
g_clear_object (&priv->displayed_cursor);
+ g_clear_object (&priv->window_cursor);
g_clear_object (&priv->root_cursor);
G_OBJECT_CLASS (meta_cursor_tracker_parent_class)->dispose (object);