From: Louis-Francis Ratté-Boulianne Date: Sat, 20 Jul 2013 04:16:45 +0000 (+0100) Subject: xwayland: Remove transform listener when destroying the wm X-Git-Tag: upstream/0.1.8~1110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dce3dacc37ca834e482e2e53a86c3d1b2ca3087c;p=profile%2Fivi%2Fweston-ivi-shell.git xwayland: Remove transform listener when destroying the wm Fix a segfault occuring after the last X window was closed. --- diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 74fba47..257c108 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); }