@ -894,6 +894,8 @@ workspace_destroy(struct workspace *ws)
if ( ws - > fsurf_back )
if ( ws - > fsurf_back )
focus_surface_destroy ( ws - > fsurf_back ) ;
focus_surface_destroy ( ws - > fsurf_back ) ;
weston_layer_fini ( & ws - > layer ) ;
free ( ws ) ;
free ( ws ) ;
}
}
@ -5026,6 +5028,13 @@ shell_destroy(struct wl_listener *listener, void *data)
workspace_destroy ( * ws ) ;
workspace_destroy ( * ws ) ;
wl_array_release ( & shell - > workspaces . array ) ;
wl_array_release ( & shell - > workspaces . array ) ;
weston_layer_fini ( & shell - > fullscreen_layer ) ;
weston_layer_fini ( & shell - > panel_layer ) ;
weston_layer_fini ( & shell - > background_layer ) ;
weston_layer_fini ( & shell - > lock_layer ) ;
weston_layer_fini ( & shell - > input_panel_layer ) ;
weston_layer_fini ( & shell - > minimized_layer ) ;
free ( shell - > client ) ;
free ( shell - > client ) ;
free ( shell ) ;
free ( shell ) ;
}
}