[mutter/wip/garnacho/virtual-input-device: 90/94] clutter/evdev: Free the main seat on device manager finalize()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/garnacho/virtual-input-device: 90/94] clutter/evdev: Free the main seat on device manager finalize()
- Date: Wed, 20 Jul 2016 16:33:57 +0000 (UTC)
commit 4c5b08b847d4e01e904bfc2550b39f735536f7af
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jul 20 17:57:47 2016 +0200
clutter/evdev: Free the main seat on device manager finalize()
.../clutter/evdev/clutter-device-manager-evdev.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter/evdev/clutter-device-manager-evdev.c
b/clutter/clutter/evdev/clutter-device-manager-evdev.c
index 792f3dd..546d68e 100644
--- a/clutter/clutter/evdev/clutter-device-manager-evdev.c
+++ b/clutter/clutter/evdev/clutter-device-manager-evdev.c
@@ -1879,6 +1879,9 @@ clutter_device_manager_evdev_finalize (GObject *object)
manager_evdev = CLUTTER_DEVICE_MANAGER_EVDEV (object);
priv = manager_evdev->priv;
+ if (priv->main_seat)
+ clutter_seat_evdev_free (priv->main_seat);
+
g_slist_free_full (priv->seats, (GDestroyNotify) clutter_seat_evdev_free);
g_slist_free (priv->devices);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]