destroy renderer and allocator in cleanup()
This commit is contained in:
parent
fc8b2a8335
commit
c13d948ea9
2
dwl.c
2
dwl.c
|
@ -730,6 +730,8 @@ cleanup(void)
|
||||||
waitpid(child_pid, NULL, 0);
|
waitpid(child_pid, NULL, 0);
|
||||||
}
|
}
|
||||||
wlr_backend_destroy(backend);
|
wlr_backend_destroy(backend);
|
||||||
|
wlr_renderer_destroy(drw);
|
||||||
|
wlr_allocator_destroy(alloc);
|
||||||
wlr_xcursor_manager_destroy(cursor_mgr);
|
wlr_xcursor_manager_destroy(cursor_mgr);
|
||||||
wlr_cursor_destroy(cursor);
|
wlr_cursor_destroy(cursor);
|
||||||
wlr_output_layout_destroy(output_layout);
|
wlr_output_layout_destroy(output_layout);
|
||||||
|
|
Loading…
Reference in a new issue