device-manager-evdev: Free the main seat on finalize

(cherry picked from commit 2a38601b42)
This commit is contained in:
Marco Trevisan (Treviño) 2018-05-17 00:23:26 +01:00 committed by Marco Trevisan
parent 72965aaaf0
commit b6dc2052c3

View File

@ -2010,6 +2010,7 @@ clutter_device_manager_evdev_finalize (GObject *object)
manager_evdev = CLUTTER_DEVICE_MANAGER_EVDEV (object);
priv = manager_evdev->priv;
clutter_seat_evdev_free (priv->main_seat);
g_slist_free_full (priv->seats, (GDestroyNotify) clutter_seat_evdev_free);
g_slist_free (priv->devices);