]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
test-runner: Properly clean up allocated test suites
authorMartin Willi <martin@revosec.ch>
Wed, 8 Apr 2015 08:20:23 +0000 (10:20 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 15 Sep 2022 10:16:12 +0000 (12:16 +0200)
src/libstrongswan/tests/test_runner.c

index af1faf47306b0627a0543d70bc66d28fbe6ff84e..b598f797730c06a8b95b335c87044cd8a1979858 100644 (file)
@@ -50,6 +50,7 @@ static void destroy_case(test_case_t *tcase)
 {
        array_destroy(tcase->functions);
        array_destroy(tcase->fixtures);
+       free(tcase);
 }
 
 /**