mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
tu: Fix leak of compute shader pipeline->base.executables_mem_ctx;
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14358
(cherry picked from commit 89da258e71)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38803>
This commit is contained in:
parent
1430b06e9b
commit
5693ff3e2a
2 changed files with 2 additions and 1 deletions
|
|
@ -864,7 +864,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
|
||||
|
|
|
|||
|
|
@ -4815,6 +4815,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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue