diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-19 08:11:07 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-19 08:33:31 +0200 |
commit | 12782eabfe2bf688b15d612a0357e75f13c9ade7 (patch) | |
tree | 5aec28d6db4d98334728604750f99de734b91889 | |
parent | 58efb8f90a8959a6f34bec233eeda2c1cbe138e8 (diff) |
libinput: wl_event_source_remove on destroy
-rw-r--r-- | backend/libinput/backend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index 28947a5e..5dd93f47 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -109,6 +109,7 @@ static void wlr_libinput_backend_destroy(struct wlr_backend *_backend) { list_free(wlr_devices); } list_free(backend->wlr_device_lists); + wl_event_source_remove(backend->input_event); libinput_unref(backend->libinput_context); free(backend); } |