From dce3dacc37ca834e482e2e53a86c3d1b2ca3087c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Francis=20Ratt=C3=A9-Boulianne?= Date: Sat, 20 Jul 2013 05:16:45 +0100 Subject: [PATCH] xwayland: Remove transform listener when destroying the wm 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 74fba47e..257c1088 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -1801,6 +1801,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); }