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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue