diff options
author | Simon Ser <contact@emersion.fr> | 2019-04-25 10:01:43 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-04-25 11:39:51 +0300 |
commit | 8d3369d70ff812a302d7e2be62445727a32e204c (patch) | |
tree | e40ddd96c3dcc457c612bd1dd0fd2658ff1bd717 | |
parent | 933208837d5bc4a7a5fa0f6d4d6a38313fdae06a (diff) |
output-damage: fix segfault after destroy
Fixes: 5e6766a165bd4bc71f1dc24c4348f7be0f020ddd
-rw-r--r-- | types/wlr_output_damage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_output_damage.c b/types/wlr_output_damage.c index b209d300..a129cec8 100644 --- a/types/wlr_output_damage.c +++ b/types/wlr_output_damage.c @@ -114,6 +114,7 @@ void wlr_output_damage_destroy(struct wlr_output_damage *output_damage) { wl_list_remove(&output_damage->output_scale.link); wl_list_remove(&output_damage->output_needs_frame.link); wl_list_remove(&output_damage->output_frame.link); + wl_list_remove(&output_damage->output_commit.link); pixman_region32_fini(&output_damage->current); for (size_t i = 0; i < WLR_OUTPUT_DAMAGE_PREVIOUS_LEN; ++i) { pixman_region32_fini(&output_damage->previous[i]); |