summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-02-09 11:53:44 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-02-09 11:54:03 +1000
commitd8b5957dc75ce0503472c76eb1c6ccbd8ce1d6c2 (patch)
tree5bcaefd53e8a5f536a99131b4bf6c546ae113791 /src/evdev.c
parent2908ba98cd6608724b00272f5c8c21e41af7e32c (diff)
downloadlibinput-d8b5957dc75ce0503472c76eb1c6ccbd8ce1d6c2.tar.gz
evdev: free the output name on evdev_destroy()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c
index afee5906..b8d8b75a 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -3444,6 +3444,7 @@ evdev_device_destroy(struct evdev_device *device)
if (device->base.group)
libinput_device_group_unref(device->base.group);
+ free(device->output_name);
filter_destroy(device->pointer.filter);
libinput_seat_unref(device->base.seat);
libevdev_free(device->evdev);