commit | 62087eed220356f373f765b86ef63470b3ac2228 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Fri Oct 04 10:56:03 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Oct 04 10:57:12 2013 +0200 |
tree | f0450b880bbbe95ebb87b0a21d12e3d5e69370f5 | |
parent | 60ad84f43f46b0d3673eaca8b9847d7e01b83c5e [diff] [blame] |
Fixed memory leak in rsa.c introduced in 43f9799
diff --git a/library/rsa.c b/library/rsa.c index 1ef97f8..9e47d5d 100644 --- a/library/rsa.c +++ b/library/rsa.c
@@ -1347,6 +1347,7 @@ */ void rsa_free( rsa_context *ctx ) { + mpi_free( &ctx->Vi ); mpi_free( &ctx->Vf ); mpi_free( &ctx->RQ ); mpi_free( &ctx->RP ); mpi_free( &ctx->RN ); mpi_free( &ctx->QP ); mpi_free( &ctx->DQ ); mpi_free( &ctx->DP ); mpi_free( &ctx->Q ); mpi_free( &ctx->P ); mpi_free( &ctx->D );