From: Jason Ekstrand Date: Mon, 7 Mar 2016 22:48:35 +0000 (-0800) Subject: anv/device: Actually free the CPU-side fence struct again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=428ffc9c13c24c30c317c2e985b9097956c583b0;p=mesa.git 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. --- 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(