mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
util/sparse_array: Finish the sparse_array in the tests
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4228>
This commit is contained in:
parent
8edaa843ab
commit
7893872a6c
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ run_test(unsigned run_idx)
|
|||
uint32_t *elem = util_sparse_array_get(&arr, i);
|
||||
assert(*elem == 0 || *elem == i);
|
||||
}
|
||||
|
||||
util_sparse_array_finish(&arr);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue