Add missing cleanup in test function

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2021-02-22 19:24:03 +01:00
parent 71edf749e1
commit 7aba036154
+3
View File
@@ -217,6 +217,9 @@ void entropy_func_len( int len, int ret )
for( j = len; j < sizeof( buf ); j++ )
TEST_ASSERT( acc[j] == 0 );
exit:
mbedtls_entropy_free( &ctx );
}
/* END_CASE */