mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
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>
(cherry picked from commit 89da258e71)
This commit is contained in:
parent
300cb6962a
commit
701ee045bf
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue