From c2eeab305b0dd07969a0d1ba66451f5a3d07dcfe Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 5 Jun 2015 17:14:57 -0700 Subject: [PATCH] vk/pipeline: Actually free the program stream and dynamic pool --- src/vulkan/pipeline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vulkan/pipeline.c b/src/vulkan/pipeline.c index 6babd183f1f..2e965245789 100644 --- a/src/vulkan/pipeline.c +++ b/src/vulkan/pipeline.c @@ -379,6 +379,8 @@ anv_pipeline_destroy(struct anv_device *device, anv_compiler_free(pipeline); anv_reloc_list_finish(&pipeline->batch.relocs, pipeline->device); + anv_state_stream_finish(&pipeline->program_stream); + anv_state_pool_free(&device->dynamic_state_pool, pipeline->blend_state); anv_device_free(pipeline->device, pipeline); } -- 2.30.2