diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 07c2ef30..ec3dab90 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -2229,6 +2229,7 @@ weston_wm_destroy(struct weston_wm *wm) wl_list_remove(&wm->activate_listener.link); wl_list_remove(&wm->kill_listener.link); wl_list_remove(&wm->transform_listener.link); + wl_list_remove(&wm->create_surface_listener.link); free(wm); }