radv: destroy the base object if VkCreateBuffer() failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 10 Jul 2020 15:11:10 +0000 (17:11 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jul 2020 11:53:27 +0000 (13:53 +0200)
commit8ef52974cdbd2995dc3aee1d7a705e7e5e2e83d8
treee1d04099629a67c4423b48a7869eacce64fc068b
parent852316494cf0678e24c63598682ab4250242a4fa
radv: destroy the base object if VkCreateBuffer() 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_device.c