mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 21:20:12 +01:00
pan/bi: Fix leak in bi_iterator_schedule()
s/util_dynarray_clear/util_dynarray_fini/ to fix the leak.
Fixes: 7dc4f28507 ("pan/bi: schedule simple iterators to avoid extra move")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38923>
This commit is contained in:
parent
29d173060e
commit
b66861a5f0
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ bi_iterator_schedule(bi_context *ctx)
|
|||
bi_remove_instruction(instr);
|
||||
list_add(&instr->link, &prev->link);
|
||||
}
|
||||
util_dynarray_clear(&iterators);
|
||||
util_dynarray_fini(&iterators);
|
||||
|
||||
free(bi_index_to_instr);
|
||||
free(bi_index_to_block);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue