diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c index 9e7be95f2..256fd0e1b 100644 --- a/clutter/evdev/clutter-device-manager-evdev.c +++ b/clutter/evdev/clutter-device-manager-evdev.c @@ -1046,6 +1046,8 @@ clutter_device_manager_evdev_remove_device (ClutterDeviceManager *manager, clutter_event_source_free (source); priv->event_sources = g_slist_remove (priv->event_sources, source); } + + g_object_unref (device); } static const GSList *