diff --git a/tests/suites/test_suite_md.function b/tests/suites/test_suite_md.function index 5c453e48e..6ac834e1e 100644 --- a/tests/suites/test_suite_md.function +++ b/tests/suites/test_suite_md.function @@ -231,6 +231,7 @@ void md_text_multi( char *text_md_name, char *text_src_string, exit: mbedtls_md_free( &ctx ); + mbedtls_md_free( &ctx_copy ); } /* END_CASE */ @@ -284,6 +285,7 @@ void md_hex_multi( char *text_md_name, char *hex_src_string, exit: mbedtls_md_free( &ctx ); + mbedtls_md_free( &ctx_copy ); } /* END_CASE */