xwayland: Remove transform listener when destroying the wm

Fix a segfault occuring after the last X window was closed.
This commit is contained in:
Louis-Francis Ratté-Boulianne 2013-07-20 05:16:45 +01:00 committed by Kristian Høgsberg
parent aac6021bc0
commit dce3dacc37

View File

@ -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);
}