cursor-tracker: Don't leak window cursor on exit

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2968>
This commit is contained in:
Jonas Ådahl 2023-04-17 15:17:16 +02:00 committed by Marge Bot
parent a7a7933e03
commit 9252131348

View File

@ -263,6 +263,7 @@ meta_cursor_tracker_dispose (GObject *object)
g_clear_object (&priv->effective_cursor); g_clear_object (&priv->effective_cursor);
g_clear_object (&priv->displayed_cursor); g_clear_object (&priv->displayed_cursor);
g_clear_object (&priv->window_cursor);
g_clear_object (&priv->root_cursor); g_clear_object (&priv->root_cursor);
G_OBJECT_CLASS (meta_cursor_tracker_parent_class)->dispose (object); G_OBJECT_CLASS (meta_cursor_tracker_parent_class)->dispose (object);