summaryrefslogtreecommitdiff
path: root/test/pkarr.c
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-11-13 13:56:45 -0500
committerJonathan Bradley <jcb@pikum.xyz>2025-11-13 13:56:45 -0500
commit45dd0537446e6343bc4a975be21e0f0d1ec655cd (patch)
tree8a177b197d9f06c5cc934dbe8f92a7a2ebcde0ef /test/pkarr.c
parent16e8bc9c3df35c0a1a538508fb74468798791107 (diff)
tests: force malloc compatibility
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;