commit | b4ab8a813705e0216aaa014964f9476af0d6e0f7 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Nov 06 18:13:32 2012 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed Jan 16 16:31:50 2013 +0100 |
tree | e24b10d85df34588b80d805cb3995930511ed148 | |
parent | de532ee73fb78a2b84067793ed031ab4f09e5997 [diff] [blame] |
Fixed memory leak due to typo
diff --git a/library/ecp.c b/library/ecp.c index 857839a..bf570fe 100644 --- a/library/ecp.c +++ b/library/ecp.c
@@ -266,8 +266,8 @@ cleanup: - mpi_free( &LN ); mpi_init( &LD ); mpi_init( &K ); mpi_init( &L ); - mpi_free( &LL ); mpi_init( &X ); mpi_init( &Y ); + mpi_free( &LN ); mpi_free( &LD ); mpi_free( &K ); mpi_free( &L ); + mpi_free( &LL ); mpi_free( &X ); mpi_free( &Y ); return( ret ); }