evdev: Release weston_seat with underlying evdev device

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone 12 years ago committed by Kristian Høgsberg
parent 816c98edb0
commit 9d01a3e548
  1. 2
      src/evdev.c

@ -774,7 +774,7 @@ evdev_input_destroy(struct weston_seat *seat_base)
evdev_remove_devices(seat_base); evdev_remove_devices(seat_base);
evdev_disable_udev_monitor(&seat->base); evdev_disable_udev_monitor(&seat->base);
wl_list_remove(&seat->base.link); weston_seat_release(seat_base);
free(seat->seat_id); free(seat->seat_id);
free(seat); free(seat);
} }

Loading…
Cancel
Save