mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 18:01:29 +00:00
Merge pull request #3128 from RyanDwyer/fix-unmap-crash
Fix double free when unmapping any view
This commit is contained in:
commit
0451acfb75
|
@ -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