commit | 468ef4b3c7b04fd829e5579193e7a0b4ac4c1603 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Sun Jan 31 00:07:11 2021 +0100 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Mon Feb 22 19:40:41 2021 +0100 |
tree | bd8b65e4ba9da75308ba907e1155daf3042ef70e | |
parent | 0c11622504322df4557dfd7a12348e5fe8087b5e [diff] |
Add missing cleanup in a test function Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/tests/suites/test_suite_entropy.function b/tests/suites/test_suite_entropy.function index 889d3bc..3aee854 100644 --- a/tests/suites/test_suite_entropy.function +++ b/tests/suites/test_suite_entropy.function
@@ -191,6 +191,9 @@ for( j = len; j < sizeof( buf ); j++ ) TEST_ASSERT( acc[j] == 0 ); + +exit: + mbedtls_entropy_free( &ctx ); } /* END_CASE */