diff options
author | Jason Ekstrand <[email protected]> | 2020-03-19 09:39:38 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2020-03-20 15:26:07 -0500 |
commit | 7893872a6c46a65d2f12bc0ae6bc4bd61fd3f8a1 (patch) | |
tree | 2388673e53c4f0619f45ad9f8ce5d3ff46217d92 /src/util/tests/sparse_array | |
parent | 8edaa843ab0f453300b981fd8f3d40b4984a75f2 (diff) |
util/sparse_array: Finish the sparse_array in the tests
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4228>
Diffstat (limited to 'src/util/tests/sparse_array')
-rw-r--r-- | src/util/tests/sparse_array/multi_threaded.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/tests/sparse_array/multi_threaded.c b/src/util/tests/sparse_array/multi_threaded.c index b7b4e73a1dc..b084ac994e4 100644 --- a/src/util/tests/sparse_array/multi_threaded.c +++ b/src/util/tests/sparse_array/multi_threaded.c @@ -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 |