aboutsummaryrefslogtreecommitdiffstats
path: root/sway/decoration.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-11-15 15:22:09 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-11-15 15:22:09 +1000
commit2115ebe39dceb5b9b7a8457eeb48ab903a091999 (patch)
tree18146c1012ece40cd5f5b18e5390a410f57ead71 /sway/decoration.c
parentMerge pull request #3126 from emersion/swap-unused-function (diff)
downloadsway-2115ebe39dceb5b9b7a8457eeb48ab903a091999.tar.gz
sway-2115ebe39dceb5b9b7a8457eeb48ab903a091999.tar.zst
sway-2115ebe39dceb5b9b7a8457eeb48ab903a091999.zip
Fix double free when unmapping any view
Diffstat (limited to 'sway/decoration.c')
-rw-r--r--sway/decoration.c1
1 files changed, 0 insertions, 1 deletions
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,
13 wl_list_remove(&deco->destroy.link); 13 wl_list_remove(&deco->destroy.link);
14 wl_list_remove(&deco->mode.link); 14 wl_list_remove(&deco->mode.link);
15 wl_list_remove(&deco->link); 15 wl_list_remove(&deco->link);
16 free(deco->wlr_server_decoration);
17 free(deco); 16 free(deco);
18} 17}
19 18