diff --git a/types/wlr_color_representation_v1.c b/types/wlr_color_representation_v1.c index af7fac60c..ff9b6e3b7 100644 --- a/types/wlr_color_representation_v1.c +++ b/types/wlr_color_representation_v1.c @@ -354,6 +354,8 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) { wl_list_remove(&manager->display_destroy.link); wl_global_destroy(manager->global); + free(manager->supported_alpha_modes); + free(manager->supported_coeffs_and_ranges); free(manager); }