diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-11-13 13:56:45 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-11-13 13:56:45 -0500 |
| commit | 45dd0537446e6343bc4a975be21e0f0d1ec655cd (patch) | |
| tree | 8a177b197d9f06c5cc934dbe8f92a7a2ebcde0ef /test/pkarr.cpp | |
| parent | 16e8bc9c3df35c0a1a538508fb74468798791107 (diff) | |
tests: force malloc compatibility
Diffstat (limited to 'test/pkarr.cpp')
| -rw-r--r-- | test/pkarr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pkarr.cpp b/test/pkarr.cpp index 8879ca4..e61a2a7 100644 --- a/test/pkarr.cpp +++ b/test/pkarr.cpp @@ -195,6 +195,7 @@ int main(int argc, char *argv[]) res = pk_arr_iter_increment(&arr, &it); if (res == true) exit(1); + pk_arr_reset(&arr); } fprintf(stdout, "[%s] Ending iter forward test\n\n", __FILE__); test_teardown(&bkt); @@ -238,6 +239,7 @@ int main(int argc, char *argv[]) res = pk_arr_iter_decrement(&arr, &it); if (res == true) exit(1); + pk_arr_reset(&arr); } fprintf(stdout, "[%s] Ending iter reverse test\n\n", __FILE__); test_teardown(&bkt); |
