diff --git a/libweston/libinput-device.c b/libweston/libinput-device.c index 1b9fc9c8..9b2577b6 100644 --- a/libweston/libinput-device.c +++ b/libweston/libinput-device.c @@ -596,7 +596,6 @@ evdev_device_destroy(struct evdev_device *device) wl_list_remove(&device->output_destroy_listener.link); wl_list_remove(&device->link); libinput_device_unref(device->device); - free(device->devnode); free(device->output_name); free(device); } diff --git a/libweston/libinput-device.h b/libweston/libinput-device.h index 5041a4aa..8e9f5608 100644 --- a/libweston/libinput-device.h +++ b/libweston/libinput-device.h @@ -47,7 +47,6 @@ struct evdev_device { struct wl_list link; struct weston_output *output; struct wl_listener output_destroy_listener; - char *devnode; char *output_name; int fd; };