diff options
Diffstat (limited to 'cipher/ecc.c')
-rw-r--r-- | cipher/ecc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/ecc.c b/cipher/ecc.c index c23ba08b..8fcd57db 100644 --- a/cipher/ecc.c +++ b/cipher/ecc.c @@ -1763,10 +1763,10 @@ point_from_keyparam (gcry_mpi_point_t *r_a, { point = gcry_mpi_point_new (0); ec = os2ec (point, a); + mpi_free (a); if (ec) { gcry_mpi_point_release (point); - mpi_free (a); return ec; } } |