commit | 503d09b52d9d068a434f8b90647e46d86f33e30b | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Mon Oct 17 12:27:43 2022 +0200 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Mon Oct 17 12:27:43 2022 +0200 |
tree | b540195392d3cd8e260dd3d47538785d14836f33 | |
parent | f33da19dfb4ae86108d7d9bde1b1c9ab593c53cd [diff] |
Fix memory leak if unit test fails Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/tests/suites/test_suite_lmots.function b/tests/suites/test_suite_lmots.function index 53ab02f..fd6a89f 100644 --- a/tests/suites/test_suite_lmots.function +++ b/tests/suites/test_suite_lmots.function
@@ -193,6 +193,7 @@ exit: mbedtls_lmots_public_free( &ctx ); + mbedtls_free( exported_pub_key ); } /* END_CASE */