mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-20 08:10:38 +01:00
util: remove the source from the removed_list on destroy
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6a0f25e72a
commit
708ad85dd4
1 changed files with 1 additions and 0 deletions
|
|
@ -182,6 +182,7 @@ sink_dispatch(struct sink *sink)
|
|||
|
||||
struct source *s, *tmp;
|
||||
list_for_each_safe(s, tmp, &sink->sources_removed, link) {
|
||||
list_remove(&s->link);
|
||||
source_unref(s);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue