remove display destroy when output is destroyed

This commit is contained in:
Tony Crisci 2017-12-18 15:10:32 -05:00
parent c838679393
commit c59210ad17

View file

@ -301,6 +301,8 @@ void wlr_output_destroy(struct wlr_output *output) {
} else { } else {
free(output); free(output);
} }
wl_list_remove(&output->display_destroy.link);
} }
void wlr_output_effective_resolution(struct wlr_output *output, void wlr_output_effective_resolution(struct wlr_output *output,