From 54bf3a36ca49e6210f3c011943531f34004a99e7 Mon Sep 17 00:00:00 2001 From: Ilia Bozhinov Date: Thu, 3 May 2018 11:57:54 +0300 Subject: [PATCH] rootston: remove mode and transform signals when output is destroyed --- rootston/output.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootston/output.c b/rootston/output.c index 225b7213..d4c6d5a2 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -756,6 +756,8 @@ static void output_destroy(struct roots_output *output) { wl_list_remove(&output->link); wl_list_remove(&output->destroy.link); + wl_list_remove(&output->mode.link); + wl_list_remove(&output->transform.link); wl_list_remove(&output->damage_frame.link); wl_list_remove(&output->damage_destroy.link); free(output);