From 428ffc9c13c24c30c317c2e985b9097956c583b0 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 7 Mar 2016 14:48:35 -0800 Subject: [PATCH] anv/device: Actually free the CPU-side fence struct again In 23de78768, when we switched from allocating individual BOs to using the pool for fences, we accidentally deleted the free. --- src/intel/vulkan/anv_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 8aa1e61acad..816f780c6ff 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1454,6 +1454,7 @@ void anv_DestroyFence( ANV_FROM_HANDLE(anv_fence, fence, _fence); anv_bo_pool_free(&device->batch_bo_pool, &fence->bo); + anv_free2(&device->alloc, pAllocator, fence); } VkResult anv_ResetFences( -- 2.30.2