From d32660454153bd51b724199f269d8bb354be2a1e Mon Sep 17 00:00:00 2001 From: Ian Date: Thu, 16 Aug 2018 14:41:23 +0100 Subject: [PATCH] Remove destroyed output from list --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index b162e74..a3b3999 100644 --- a/main.c +++ b/main.c @@ -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);