aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-28 21:30:13 -0400
committerGitHub <noreply@github.com>2017-09-28 21:30:13 -0400
commit6479fb27be364ef6ee7c5289c18d015ec3d8c2f3 (patch)
tree7fbef2b1d75c1b1c010c29a494b1d5526a2c013a /backend/libinput
parentada7fde6fbb1d4cc85f61ef03c8139bf92a9ca10 (diff)
parent0f56326cb82f8bfa22c653a7e6b57d51ad0c3c3d (diff)
Merge pull request #169 from acrisci/bug/keyboard-libinput-free
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 = {