mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
device-manager-evdev: Unref devices on removal
https://bugzilla.gnome.org/show_bug.cgi?id=712812
This commit is contained in:
parent
ce1f8f1dd0
commit
7d8f72a60e
@ -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 *
|
||||||
|
Loading…
Reference in New Issue
Block a user