radv: Fix bufimage failure deallocation.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 21 Jan 2018 21:01:49 +0000 (22:01 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 21 Jan 2018 23:07:32 +0000 (00:07 +0100)
commitfb0992e967e7f56604e1f5db8579ae6c2b8d0f2a
treea44180f788a541aa0596cd2101950c215d0f159b
parent2c802ca66c480a1038e1fe52350e30a27658e78a
radv: Fix bufimage failure deallocation.

The inidividual init parts don't clean up their own stuff on failure.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_bufimage.c