radv: destroy the base object if VkCreateInstance() failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 12 Jul 2020 11:40:14 +0000 (13:40 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jul 2020 11:53:37 +0000 (13:53 +0200)
commit0859dcb57c18905b2f30e78e1458fea36d111e20
tree469c45c141f02300514e707a085fd06ce52bd263
parent50fdefc025a57b25c5bf55d9876e8032b358c3b2
radv: destroy the base object if VkCreateInstance() 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