wayland: Clear hashtable pointers on meta_wayland_touch_release()
Just in case they are poked while no touch interface is available; https://bugzilla.gnome.org/show_bug.cgi?id=733631
This commit is contained in:
parent
f28f5dc0b6
commit
baadb75a5e
@ -528,8 +528,8 @@ void
|
|||||||
meta_wayland_touch_release (MetaWaylandTouch *touch)
|
meta_wayland_touch_release (MetaWaylandTouch *touch)
|
||||||
{
|
{
|
||||||
clutter_evdev_remove_filter (evdev_filter_func, touch);
|
clutter_evdev_remove_filter (evdev_filter_func, touch);
|
||||||
g_hash_table_unref (touch->touch_surfaces);
|
g_clear_pointer (&touch->touch_surfaces, (GDestroyNotify) g_hash_table_unref);
|
||||||
g_hash_table_unref (touch->touches);
|
g_clear_pointer (&touch->touches, (GDestroyNotify) g_hash_table_unref);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user