summaryrefslogtreecommitdiffstats
path: root/test/strindex_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/strindex_test.c')
-rw-r--r--test/strindex_test.c2
1 files changed, 2 insertions, 0 deletions
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);