tu: Fix leak of compute shader pipeline->base.executables_mem_ctx;
Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14358 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38684>
This commit is contained in:
@@ -4819,6 +4819,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);
|
||||
|
||||
Reference in New Issue
Block a user