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 );
}