Free the modulus before the data in it in mod_raw_add tests

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
Tom Cosgrove 2022-11-25 14:18:52 +00:00
parent 50fc127a4e
commit ddad40b1de

View file

@ -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 */