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:
Jason Ekstrand 2020-03-19 09:39:38 -05:00
parent 8edaa843ab
commit 7893872a6c
1 changed files with 2 additions and 0 deletions

View File

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