]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
test-runner: Clean up collected run times
authorTobias Brunner <tobias@strongswan.org>
Tue, 13 Sep 2022 12:55:30 +0000 (14:55 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 15 Sep 2022 10:16:12 +0000 (12:16 +0200)
src/libstrongswan/tests/test_runner.c

index b598f797730c06a8b95b335c87044cd8a1979858..cfa3aabfe44586798916958037a297830b3258a8 100644 (file)
@@ -739,6 +739,7 @@ static bool run_case(test_case_t *tcase, test_runner_init_t init, char *cfg,
        array_destroy(failures);
        array_destroy(warnings);
        DESTROY_IF(iterations);
+       free(times);
 
        return passed == array_count(tcase->functions);
 }