Fix a segfault occuring after the last X window was closed.
---
 src/xwayland/window-manager.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
index fd91004..57a5d99 100644
--- a/src/xwayland/window-manager.c
+++ b/src/xwayland/window-manager.c
@@ -2043,6 +2043,7 @@ weston_wm_destroy(struct weston_wm *wm)
        wl_list_remove(&wm->selection_listener.link);
        wl_list_remove(&wm->activate_listener.link);
        wl_list_remove(&wm->kill_listener.link);
+       wl_list_remove(&wm->transform_listener.link);
 
        free(wm);
 }
-- 
1.7.10.4

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to