radv: destroy the base object if VkCreateEvent() failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 10 Jul 2020 15:14:30 +0000 (17:14 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jul 2020 11:53:29 +0000 (13:53 +0200)
commitce7a7aeeccf44fa00fd8157b5e592c4980852f3b
treef0aa2a230e7f5a38a4fb29395120f41652d4747e
parent8ef52974cdbd2995dc3aee1d7a705e7e5e2e83d8
radv: destroy the base object if VkCreateEvent() 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