anv: Call vk_object_base_finish for image views
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 13 May 2020 21:26:22 +0000 (16:26 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 16:14:34 +0000 (16:14 +0000)
Fixes: 682c81bdfb7 "vulkan,anv: Add a base object struct type"
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5032>

src/intel/vulkan/anv_image.c

index eb9356df9b4872ead7ec3ad9766edb63790b93c6..b6ab727cb37eca7e55922342543198eb15c8fa6f 100644 (file)
@@ -2170,6 +2170,7 @@ anv_DestroyImageView(VkDevice _device, VkImageView _iview,
       }
    }
 
+   vk_object_base_finish(&iview->base);
    vk_free2(&device->vk.alloc, pAllocator, iview);
 }