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:
parent
50fc127a4e
commit
ddad40b1de
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue