properly destroy scene

ΔSLOC: +1
This commit is contained in:
Devin J. Pohly 2023-07-13 16:20:51 -05:00 committed by Leonardo Hernández
parent fbd84aca4a
commit 1841527871

1
dwl.c
View file

@ -663,6 +663,7 @@ cleanup(void)
waitpid(child_pid, NULL, 0); waitpid(child_pid, NULL, 0);
} }
wlr_backend_destroy(backend); wlr_backend_destroy(backend);
wlr_scene_node_destroy(&scene->tree.node);
wlr_renderer_destroy(drw); wlr_renderer_destroy(drw);
wlr_allocator_destroy(alloc); wlr_allocator_destroy(alloc);
wlr_xcursor_manager_destroy(cursor_mgr); wlr_xcursor_manager_destroy(cursor_mgr);