diff --git a/tests/suites/test_suite_bignum_mod_raw.function b/tests/suites/test_suite_bignum_mod_raw.function index 148386189..193949381 100644 --- a/tests/suites/test_suite_bignum_mod_raw.function +++ b/tests/suites/test_suite_bignum_mod_raw.function @@ -370,13 +370,13 @@ void mpi_mod_raw_add( char * input_N, } exit: + mbedtls_mpi_mod_modulus_free( &m ); + mbedtls_free( A ); mbedtls_free( B ); mbedtls_free( S ); mbedtls_free( N ); mbedtls_free( X ); - - mbedtls_mpi_mod_modulus_free( &m ); } /* END_CASE */ /* END MERGE SLOT 5 */