radv: destroy the base object if VkCreateSemaphore() failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 10 Jul 2020 15:25:00 +0000 (17:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jul 2020 11:53:30 +0000 (13:53 +0200)
commitd25764d91049753956264c5a9e52a774a45cd144
tree13b31bca18498fa86b34ff78aa312b732c2b18dc
parentce7a7aeeccf44fa00fd8157b5e592c4980852f3b
radv: destroy the base object if VkCreateSemaphore() 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