commit | 342d00bc220a9aea38563f6ce58be76a844a7995 | [log] [tgz] |
---|---|---|
author | Tom Cosgrove <tom.cosgrove@arm.com> | Fri Dec 16 11:02:06 2022 +0000 |
committer | Tom Cosgrove <tom.cosgrove@arm.com> | Fri Dec 16 11:02:06 2022 +0000 |
tree | 6611089bc6c4495f558dd1cd0642cc663d7a39ce | |
parent | 1133d2325b9bd3a00fcdbf647de27991562ae35c [diff] |
Oops, use mbedtls_free() not plain free() Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
diff --git a/library/bignum_mod.c b/library/bignum_mod.c index 7c89b57..31e18e7 100644 --- a/library/bignum_mod.c +++ b/library/bignum_mod.c
@@ -276,7 +276,7 @@ mbedtls_platform_zeroize( working_memory, working_limbs * sizeof(mbedtls_mpi_uint) ); - free( working_memory ); + mbedtls_free( working_memory ); return ret; }