aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-28 14:15:25 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-28 14:15:25 -0500
commitc13d948ea90fa55fb5b3180f2aa0ee4114ef6df0 (patch)
tree8a503d5b43e033ed97f63120d43c722292a119b9 /dwl.c
parentfc8b2a8335365dbf3966f0a9bb783a4cb33fdcbf (diff)
destroy renderer and allocator in cleanup()
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index cc08787..e7571fe 100644
--- 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);