radv: destroy the base object if VkAllocateCommandBuffers() failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 12 Jul 2020 11:34:39 +0000 (13:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jul 2020 11:53:35 +0000 (13:53 +0200)
commit50fdefc025a57b25c5bf55d9876e8032b358c3b2
tree96addbc6c3792549f8df379da2950e4cb7ee17ba
parente5f2bf369724d57bf1ca57ef9a466fb9934f2255
radv: destroy the base object if VkAllocateCommandBuffers() failed

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5868>
src/amd/vulkan/radv_cmd_buffer.c