Merge pull request #3128 from RyanDwyer/fix-unmap-crash

Fix double free when unmapping any view
This commit is contained in:
Brian Ashworth 2018-11-15 00:38:42 -05:00 committed by GitHub
commit 0451acfb75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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