From 3460e6cb2f8b4424e2b776518a6ad0fc190ecd73 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 22 Jul 2015 17:51:14 -0700 Subject: [PATCH] vk/device: Finish the scratch block pool on device destruction --- src/vulkan/anv_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 22abddc0cd6..886118d1954 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -630,6 +630,7 @@ VkResult anv_DestroyDevice( anv_block_pool_finish(&device->dynamic_state_block_pool); anv_block_pool_finish(&device->instruction_block_pool); anv_block_pool_finish(&device->surface_state_block_pool); + anv_block_pool_finish(&device->scratch_block_pool); close(device->fd); -- 2.30.2