From c59210ad1732c35f3b4c4c03eb9cf18f6296d8ca Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Mon, 18 Dec 2017 15:10:32 -0500 Subject: [PATCH] remove display destroy when output is destroyed --- types/wlr_output.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/wlr_output.c b/types/wlr_output.c index 923f8f52..f7b88444 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -301,6 +301,8 @@ void wlr_output_destroy(struct wlr_output *output) { } else { free(output); } + + wl_list_remove(&output->display_destroy.link); } void wlr_output_effective_resolution(struct wlr_output *output,