From: Tobias Brunner Date: Tue, 13 Sep 2022 12:55:30 +0000 (+0200) Subject: test-runner: Clean up collected run times X-Git-Tag: 5.9.8dr4~11^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eeeb894d1bcfac590d6cd9b049345d09f24398a;p=thirdparty%2Fstrongswan.git test-runner: Clean up collected run times --- diff --git a/src/libstrongswan/tests/test_runner.c b/src/libstrongswan/tests/test_runner.c index b598f79773..cfa3aabfe4 100644 --- a/src/libstrongswan/tests/test_runner.c +++ b/src/libstrongswan/tests/test_runner.c @@ -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); }