radv: destroy the base object if VkCreateFence() failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 10 Jul 2020 15:29:21 +0000 (17:29 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jul 2020 11:53:32 +0000 (13:53 +0200)
commite5f2bf369724d57bf1ca57ef9a466fb9934f2255
tree3fc2f4188fad70aa87b54737b3fca806738d4c35
parentd25764d91049753956264c5a9e52a774a45cd144
radv: destroy the base object if VkCreateFence() 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