mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 08:37:25 +00:00
Oops, use mbedtls_free() not plain free()
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
parent
1133d2325b
commit
342d00bc22
@ -276,7 +276,7 @@ int mbedtls_mpi_mod_inv( mbedtls_mpi_mod_residue *X,
|
|||||||
|
|
||||||
mbedtls_platform_zeroize( working_memory,
|
mbedtls_platform_zeroize( working_memory,
|
||||||
working_limbs * sizeof(mbedtls_mpi_uint) );
|
working_limbs * sizeof(mbedtls_mpi_uint) );
|
||||||
free( working_memory );
|
mbedtls_free( working_memory );
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user