1
0
Fork 0

device-manager-evdev: Unref devices on removal

https://bugzilla.gnome.org/show_bug.cgi?id=712812
This commit is contained in:
Rui Matos 2013-11-21 14:50:40 +01:00
parent ce1f8f1dd0
commit 7d8f72a60e

View file

@ -1046,6 +1046,8 @@ clutter_device_manager_evdev_remove_device (ClutterDeviceManager *manager,
clutter_event_source_free (source); clutter_event_source_free (source);
priv->event_sources = g_slist_remove (priv->event_sources, source); priv->event_sources = g_slist_remove (priv->event_sources, source);
} }
g_object_unref (device);
} }
static const GSList * static const GSList *