1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Fixed memory leak due to typo

This commit is contained in:
Manuel Pégourié-Gonnard
2012-11-06 18:13:32 +01:00
committed by Paul Bakker
parent de532ee73f
commit b4ab8a8137

View File

@ -266,8 +266,8 @@ static int ecp_double_generic( const ecp_group *grp, ecp_point *R,
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 );
}