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
1 changed files with 2 additions and 0 deletions

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,