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:
Boris Brezillon 2025-12-12 13:06:21 +01:00
parent 29d173060e
commit b66861a5f0

View file

@ -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);