From: Jason Ekstrand Date: Thu, 23 Jul 2015 00:51:14 +0000 (-0700) Subject: vk/device: Finish the scratch block pool on device destruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3460e6cb2f8b4424e2b776518a6ad0fc190ecd73;p=mesa.git vk/device: Finish the scratch block pool on device destruction --- 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);