commit c13d948ea90fa55fb5b3180f2aa0ee4114ef6df0
parent fc8b2a8335365dbf3966f0a9bb783a4cb33fdcbf
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date: Wed, 28 Sep 2022 14:15:25 -0500
destroy renderer and allocator in cleanup()
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/dwl.c b/dwl.c
@@ -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);