diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c index a0a45405d6b..e3895a77234 100644 --- a/src/intel/vulkan/anv_descriptor_set.c +++ b/src/intel/vulkan/anv_descriptor_set.c @@ -909,8 +909,10 @@ void anv_DestroyDescriptorPool( anv_descriptor_set_layout_unref(device, set->layout); } - if (pool->bo) + if (pool->bo) { + util_vma_heap_finish(&pool->bo_heap); anv_device_release_bo(device, pool->bo); + } anv_state_stream_finish(&pool->surface_state_stream); vk_object_base_finish(&pool->base);