From a6e9a04495880b50cafa5324efbe247a1b7c78ed Mon Sep 17 00:00:00 2001 From: Keith Bowes Date: Wed, 12 Feb 2025 08:29:10 -0500 Subject: [PATCH] Freed more pointers --- waybox/server.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/waybox/server.c b/waybox/server.c index 0d9a729..f9e7811 100644 --- a/waybox/server.c +++ b/waybox/server.c @@ -146,6 +146,15 @@ bool wb_terminate(struct wb_server* server) { wl_display_destroy(server->wl_display); wb_seat_destroy(server->seat); + wl_list_remove(&server->gamma_control_set_gamma.link); + wl_list_remove(&server->new_layer_surface.link); + wl_list_remove(&server->new_xdg_decoration.link); + + wl_list_remove(&server->destroy_inhibit_manager.link); + wl_list_remove(&server->destroy_inhibitor.link); + wl_list_remove(&server->new_inhibitor.link); + wl_list_remove(&server->inhibitors); + wl_list_remove(&server->new_xdg_toplevel.link); wl_list_remove(&server->new_xdg_popup.link);