mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-26 23:14:07 +08:00
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
@ -370,13 +370,13 @@ void mpi_mod_raw_add( char * input_N,
|
|||||||
}
|
}
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
mbedtls_mpi_mod_modulus_free( &m );
|
||||||
|
|
||||||
mbedtls_free( A );
|
mbedtls_free( A );
|
||||||
mbedtls_free( B );
|
mbedtls_free( B );
|
||||||
mbedtls_free( S );
|
mbedtls_free( S );
|
||||||
mbedtls_free( N );
|
mbedtls_free( N );
|
||||||
mbedtls_free( X );
|
mbedtls_free( X );
|
||||||
|
|
||||||
mbedtls_mpi_mod_modulus_free( &m );
|
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
/* END MERGE SLOT 5 */
|
/* END MERGE SLOT 5 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user