From: Jason Ekstrand Date: Sat, 6 Jun 2015 00:14:57 +0000 (-0700) Subject: vk/pipeline: Actually free the program stream and dynamic pool X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2eeab305b0dd07969a0d1ba66451f5a3d07dcfe;p=mesa.git vk/pipeline: Actually free the program stream and dynamic pool --- 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); }