diff options
-rw-r--r-- | types/wlr_output.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |