diff options
-rw-r--r-- | src/intel/vulkan/anv_descriptor_set.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c index 882c42f231e..2d4d37febb5 100644 --- a/src/intel/vulkan/anv_descriptor_set.c +++ b/src/intel/vulkan/anv_descriptor_set.c @@ -754,11 +754,10 @@ void anv_DestroyDescriptorPool( anv_gem_munmap(pool->bo.map, pool->bo.size); anv_vma_free(device, &pool->bo); anv_gem_close(device, pool->bo.gem_handle); + util_vma_heap_finish(&pool->bo_heap); } anv_state_stream_finish(&pool->surface_state_stream); - util_vma_heap_finish(&pool->bo_heap); - vk_free2(&device->alloc, pAllocator, pool); } |