mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-05 04:06:24 -05:00
Fix renderer, allocator and scene memory leaks on exit
This commit is contained in:
parent
3da3ec0c27
commit
f575138ec6
1 changed files with 3 additions and 0 deletions
3
cage.c
3
cage.c
|
|
@ -630,5 +630,8 @@ end:
|
|||
/* This function is not null-safe, but we only ever get here
|
||||
with a proper wl_display. */
|
||||
wl_display_destroy(server.wl_display);
|
||||
wlr_scene_node_destroy(&server.scene->tree.node);
|
||||
wlr_allocator_destroy(server.allocator);
|
||||
wlr_renderer_destroy(server.renderer);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue