Fix double free when unmapping any view

This commit is contained in:
Ryan Dwyer 2018-11-15 15:22:09 +10:00
parent 932d6ee0d4
commit 2115ebe39d

View file

@ -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);
}