mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
Fix double free when unmapping any view
This commit is contained in:
parent
932d6ee0d4
commit
2115ebe39d
|
@ -13,7 +13,6 @@ static void server_decoration_handle_destroy(struct wl_listener *listener,
|
||||||
wl_list_remove(&deco->destroy.link);
|
wl_list_remove(&deco->destroy.link);
|
||||||
wl_list_remove(&deco->mode.link);
|
wl_list_remove(&deco->mode.link);
|
||||||
wl_list_remove(&deco->link);
|
wl_list_remove(&deco->link);
|
||||||
free(deco->wlr_server_decoration);
|
|
||||||
free(deco);
|
free(deco);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue