From 8c8e3e1e306cb936be63cc033d8db2ca4442cbe5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Mar 2012 05:19:21 +0000 Subject: Fix memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4010 a436a847-0d15-0410-975c-d299462d15a1 --- tests/sratom_test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/sratom_test.c') 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; } -- cgit v1.2.1