Skip to content

Commit

Permalink
Remove destroyed output from list
Browse files Browse the repository at this point in the history
  • Loading branch information
ianyfan committed Aug 16, 2018
1 parent 8625fe4 commit d326604
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ static void destroy_output(struct slurp_output *output) {
if (output == NULL) {
return;
}
wl_list_remove(&output->link);
finish_buffer(&output->buffers[0]);
finish_buffer(&output->buffers[1]);
wl_cursor_theme_destroy(output->cursor_theme);
Expand Down

0 comments on commit d326604

Please sign in to comment.