mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
freedreno/ir3: Fix crash in shader compile fail path
Fixes:74140c2e85("freedreno/ir3: convert over to ralloc") Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7612> (cherry picked from commit4b65c09d86)
This commit is contained in:
parent
cd8081867f
commit
bf4a4d61a0
2 changed files with 2 additions and 2 deletions
|
|
@ -2299,7 +2299,7 @@
|
|||
"description": "freedreno/ir3: Fix crash in shader compile fail path",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "74140c2e859c15593a379cbde96b1048f2ad69dc"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -986,7 +986,7 @@ void * ir3_assemble(struct ir3_shader_variant *v)
|
|||
return ptr;
|
||||
|
||||
fail:
|
||||
free(ptr);
|
||||
ralloc_free(ptr);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue