summaryrefslogtreecommitdiffstats
path: root/tests/sratom_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sratom_test.c')
-rw-r--r--tests/sratom_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/sratom_test.c b/tests/sratom_test.c
index 4ae3f9a..29ead8f 100644
--- a/tests/sratom_test.c
+++ b/tests/sratom_test.c
@@ -226,10 +226,15 @@ main()
}
printf("All tests passed.\n");
+
+ free(parsed);
+ free(instr);
+ free(outstr);
sratom_free(sratom);
for (uint32_t i = 0; i < n_uris; ++i) {
free(uris[i]);
}
free(uris);
+
return 0;
}