[PATCH weston 3/5] evdev: Release weston_seat with underlying evdev device

Daniel Stone daniel at fooishbar.org
Mon Jul 23 11:54:59 PDT 2012


Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 src/evdev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/evdev.c b/src/evdev.c
index 74662b2..62f1bc1 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -774,7 +774,7 @@ evdev_input_destroy(struct weston_seat *seat_base)
 	evdev_remove_devices(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);
 }
-- 
1.7.10.4



More information about the wayland-devel mailing list