aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-11-01 21:08:59 +0100
committerDominique Martinet <asmadeus@codewreck.org>2017-11-01 21:14:23 +0100
commitb53db8c39e33c340214827097e26ccacbbcb5c08 (patch)
treeb8120d18ba5c70b8b9639f257b64314e4d75338b /backend/libinput
parent844b166c1bed117ef654de3f9ad68eebad67f6be (diff)
libinput backend destroy: fix small leak
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 07c6da13..45b4e368 100644
--- a/backend/libinput/backend.c
+++ b/backend/libinput/backend.c
@@ -105,6 +105,7 @@ static void wlr_libinput_backend_destroy(struct wlr_backend *_backend) {
wl_signal_emit(&backend->backend.events.input_remove, wlr_dev);
wlr_input_device_destroy(wlr_dev);
}
+ free(wlr_devices);
}
wlr_list_free(backend->wlr_device_lists);
wl_event_source_remove(backend->input_event);