diff --git a/.pick_status.json b/.pick_status.json index ca71a6a0bbb..d0fd62d0120 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1554,7 +1554,7 @@ "description": "tu: Fix leak of compute shader pipeline->base.executables_mem_ctx;", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/freedreno/vulkan/tu_pipeline.cc b/src/freedreno/vulkan/tu_pipeline.cc index 617157b0cd4..a25576d15f6 100644 --- a/src/freedreno/vulkan/tu_pipeline.cc +++ b/src/freedreno/vulkan/tu_pipeline.cc @@ -4814,6 +4814,7 @@ fail: if (shader) vk_pipeline_cache_object_unref(&dev->vk, &shader->base); + ralloc_free(pipeline->base.executables_mem_ctx); ralloc_free(pipeline_mem_ctx); vk_object_free(&dev->vk, pAllocator, pipeline);