diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ring_test.c | 2 | ||||
-rw-r--r-- | test/strindex_test.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/ring_test.c b/test/ring_test.c index d4d2d38..24163fe 100644 --- a/test/ring_test.c +++ b/test/ring_test.c @@ -129,6 +129,8 @@ main(int argc, char** argv) n_writes = (unsigned)atoi(argv[2]); } + zix_ring_free(NULL); + printf("Testing %u writes of %d ints to a %u int ring...\n", n_writes, MSG_SIZE, diff --git a/test/strindex_test.c b/test/strindex_test.c index 42d3c66..3cdfb25 100644 --- a/test/strindex_test.c +++ b/test/strindex_test.c @@ -37,6 +37,8 @@ test_fail(const char* fmt, ...) int main(void) { + zix_strindex_free(NULL); + const char* str = "BANANA"; const size_t str_len = strlen(str); ZixStrindex* strindex = zix_strindex_new(str); |