From 0f56326cb82f8bfa22c653a7e6b57d51ad0c3c3d Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Thu, 28 Sep 2017 20:29:26 -0400 Subject: fix libinput wlr-keyboard use after free --- backend/libinput/keyboard.c | 1 - 1 file changed, 1 deletion(-) (limited to 'backend') 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 = { -- cgit v1.2.3