radv: destroy the base object if VkCreateQueryPool() failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 10 Jul 2020 13:52:38 +0000 (15:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jul 2020 11:53:19 +0000 (13:53 +0200)
commit0eec81d01928636665c818f2635bad06c4d4bf4f
treed13d5db515ec7e1b797e37e6fe62df312c0c9e5a
parent25baceafd3dfbc288fe05876c7c088549e46d9d4
radv: destroy the base object if VkCreateQueryPool() 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_query.c