aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-09-28 20:29:26 -0400
committerTony Crisci <tony@dubstepdish.com>2017-09-28 20:29:26 -0400
commit0f56326cb82f8bfa22c653a7e6b57d51ad0c3c3d (patch)
tree4c44e17953cfd11abcef794caf7c6e4e54b7fc34 /backend/libinput
parent033036712ade73a872f1034ddb47235be11a74aa (diff)
fix libinput wlr-keyboard use after free
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/keyboard.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/libinput/keyboard.c b/backend/libinput/keyboard.c
index 2a626148..53c3a61b 100644
--- a/backend/libinput/keyboard.c
+++ b/backend/libinput/keyboard.c
@@ -21,7 +21,6 @@ static void wlr_libinput_keyboard_destroy(struct wlr_keyboard *wlr_kb) {
struct wlr_libinput_keyboard *wlr_libinput_kb =
(struct wlr_libinput_keyboard *)wlr_kb;
libinput_device_unref(wlr_libinput_kb->libinput_dev);
- free(wlr_libinput_kb);
}
struct wlr_keyboard_impl impl = {