From 2115ebe39dceb5b9b7a8457eeb48ab903a091999 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 15 Nov 2018 15:22:09 +1000 Subject: [PATCH] Fix double free when unmapping any view --- sway/decoration.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sway/decoration.c b/sway/decoration.c index a6007c2e..849fa89c 100644 --- a/sway/decoration.c +++ b/sway/decoration.c @@ -13,7 +13,6 @@ static void server_decoration_handle_destroy(struct wl_listener *listener, wl_list_remove(&deco->destroy.link); wl_list_remove(&deco->mode.link); wl_list_remove(&deco->link); - free(deco->wlr_server_decoration); free(deco); }