diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-01 14:44:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 14:44:38 -0400 |
commit | 697a24137b67bb50b52c5307a3f7cdebbc9509b8 (patch) | |
tree | f3234f8f9ede9c1ba7a8d918b022a86a0d3c7986 /backend/libinput/events.c | |
parent | 1d0973f6c86ac62f03cbec89ceee5211c21dbab1 (diff) | |
parent | e3ee2cd9c7e9abe6614dded927787f8138f739f4 (diff) |
Merge pull request #376 from martinetd/rootston_exit
Fix rootston exit segfaults
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); } |