tinywl: destroy wlr_renderer, wlr_allocator and wlr_cursor

Suggested-by: Alexander Bakker <ab@alexbakker.me>
Suggested-by: Simon Ser <contact@emersion.fr>
master
He Yong 9 months ago committed by Simon Ser
parent 86e1b24d84
commit ac1232e576

@ -1065,6 +1065,9 @@ int main(int argc, char *argv[]) {
wl_display_destroy_clients(server.wl_display);
wlr_scene_node_destroy(&server.scene->tree.node);
wlr_xcursor_manager_destroy(server.cursor_mgr);
wlr_cursor_destroy(server.cursor);
wlr_allocator_destroy(server.allocator);
wlr_renderer_destroy(server.renderer);
wlr_backend_destroy(server.backend);
wl_display_destroy(server.wl_display);
return 0;

Loading…
Cancel
Save