diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-11-01 19:35:39 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-11-01 19:37:35 +0100 |
commit | e3ee2cd9c7e9abe6614dded927787f8138f739f4 (patch) | |
tree | f3234f8f9ede9c1ba7a8d918b022a86a0d3c7986 /backend/libinput/events.c | |
parent | f451ea36393e8cedf29fd9877689b33ae770a8dc (diff) |
rootston exit: fix libinput destroy
The wlr_list -> wl_list rework changed 'wlr_devices' to
wl_list, but missed its use on destroy.
Diffstat (limited to 'backend/libinput/events.c')
-rw-r--r-- | backend/libinput/events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c index 053cab02..5da45c67 100644 --- a/backend/libinput/events.c +++ b/backend/libinput/events.c @@ -26,6 +26,7 @@ struct wlr_input_device *get_appropriate_device( static void wlr_libinput_device_destroy(struct wlr_input_device *_dev) { struct wlr_libinput_input_device *dev = (struct wlr_libinput_input_device *)_dev; libinput_device_unref(dev->handle); + wl_list_remove(&dev->wlr_input_device.link); free(dev); } |