aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-19 08:45:44 -0400
committerGitHub <noreply@github.com>2017-08-19 08:45:44 -0400
commitb876bea288bc4827a9de157eed481b823c081a4b (patch)
tree94fb650815691f98ab633c7731496f14ac751dc2 /backend/libinput
parent3674085faede2960581461cf8f40c33ffce85e7c (diff)
parent84c0c87a5ddca24cb039f33eea38252681bb4636 (diff)
Merge pull request #114 from martinetd/cleanups
Cleanups
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/backend.c1
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);
}