summaryrefslogtreecommitdiff
path: root/test/pkarr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pkarr.c')
-rw-r--r--test/pkarr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/pkarr.c b/test/pkarr.c
index 25ae171..8762aa9 100644
--- a/test/pkarr.c
+++ b/test/pkarr.c
@@ -39,6 +39,7 @@ test_spinup(struct pk_arr *arr, struct pk_membucket **bkt)
void
test_teardown(struct pk_arr *arr, struct pk_membucket **bkt)
{
+ pk_arr_reset(arr);
pk_mem_bucket_destroy(*bkt);
*bkt = NULL;
arr->data = NULL;