Fix renderer, allocator and scene memory leaks on exit

This commit is contained in:
Simon Ser 2025-06-29 20:18:33 +02:00
parent 3da3ec0c27
commit f575138ec6

3
cage.c
View file

@ -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;
}