mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
libinput: wl_event_source_remove on destroy
This commit is contained in:
parent
58efb8f90a
commit
12782eabfe
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ static void wlr_libinput_backend_destroy(struct wlr_backend *_backend) {
|
||||||
list_free(wlr_devices);
|
list_free(wlr_devices);
|
||||||
}
|
}
|
||||||
list_free(backend->wlr_device_lists);
|
list_free(backend->wlr_device_lists);
|
||||||
|
wl_event_source_remove(backend->input_event);
|
||||||
libinput_unref(backend->libinput_context);
|
libinput_unref(backend->libinput_context);
|
||||||
free(backend);
|
free(backend);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue