mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 08:37:25 +00:00
Fixed memory leak due to typo
This commit is contained in:
parent
de532ee73f
commit
b4ab8a8137
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user