mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
asahi: Fix memory leak in agx_nir_lower_sysvals()
We need to free the dynarray. Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23480>
This commit is contained in:
parent
bb27e3f69c
commit
c6016486f4
1 changed files with 3 additions and 0 deletions
|
|
@ -319,5 +319,8 @@ agx_nir_lower_sysvals(nir_shader *shader, struct agx_compiled_shader *compiled,
|
|||
&state);
|
||||
|
||||
*push_size = lay_out_uniforms(compiled, &state);
|
||||
|
||||
util_dynarray_fini(&state.load_preambles);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue