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
|
@ -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…
Reference in New Issue