mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-20 18:19:53 +00:00
Oops, use mbedtls_free() not plain free()
Signed-off-by: Tom Cosgrove <[email protected]>
This commit is contained in:
@@ -276,7 +276,7 @@ int mbedtls_mpi_mod_inv( mbedtls_mpi_mod_residue *X,
|
||||
|
||||
mbedtls_platform_zeroize( working_memory,
|
||||
working_limbs * sizeof(mbedtls_mpi_uint) );
|
||||
free( working_memory );
|
||||
mbedtls_free( working_memory );
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user