mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 09:00:42 -05:00
backends/native: Fix input device touch hash table leak
It was emptied but never unref'ed in finalize. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1304
This commit is contained in:
parent
49408e8f9f
commit
94fb82137f
@ -69,6 +69,7 @@ meta_input_device_native_finalize (GObject *object)
|
||||
|
||||
meta_input_device_native_release_touch_slots (device_evdev,
|
||||
g_get_monotonic_time ());
|
||||
g_clear_pointer (&device_evdev->touches, g_hash_table_unref);
|
||||
|
||||
backend = clutter_get_default_backend ();
|
||||
seat = clutter_backend_get_default_seat (backend);
|
||||
|
Loading…
Reference in New Issue
Block a user