destroy renderer and allocator in cleanup()

This commit is contained in:
Leonardo Hernández Hernández 2022-09-28 14:15:25 -05:00
parent fc8b2a8335
commit c13d948ea9
Failed to generate hash of commit

2
dwl.c
View file

@ -730,6 +730,8 @@ cleanup(void)
waitpid(child_pid, NULL, 0);
}
wlr_backend_destroy(backend);
wlr_renderer_destroy(drw);
wlr_allocator_destroy(alloc);
wlr_xcursor_manager_destroy(cursor_mgr);
wlr_cursor_destroy(cursor);
wlr_output_layout_destroy(output_layout);