From: Martin Willi Date: Wed, 8 Apr 2015 08:20:23 +0000 (+0200) Subject: test-runner: Properly clean up allocated test suites X-Git-Tag: 5.9.8dr4~11^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18fbde41ebf39b3e45588f4a9c05b6da320b74f;p=thirdparty%2Fstrongswan.git test-runner: Properly clean up allocated test suites --- diff --git a/src/libstrongswan/tests/test_runner.c b/src/libstrongswan/tests/test_runner.c index af1faf4730..b598f79773 100644 --- a/src/libstrongswan/tests/test_runner.c +++ b/src/libstrongswan/tests/test_runner.c @@ -50,6 +50,7 @@ static void destroy_case(test_case_t *tcase) { array_destroy(tcase->functions); array_destroy(tcase->fixtures); + free(tcase); } /**