From b8c2468d9edb40e605c84a2df979359580de697e Mon Sep 17 00:00:00 2001 From: Paul Zimmermann <Paul.Zimmermann@inria.fr> Date: Sun, 23 Jun 2024 10:49:51 +0200 Subject: [PATCH] fixed a memory leak in build_curves_with_torsion_Z3xZ6 --- torsions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/torsions.c b/torsions.c index 28b3ff12..5ca552de 100644 --- a/torsions.c +++ b/torsions.c @@ -1230,6 +1230,7 @@ build_curves_with_torsion_Z3xZ6(mpz_t f, mpmod_t n, mpz_clear(sk); mpz_clear(tk); mpres_clear(tmp, n); + ell_curve_clear (E, n); return ret; } -- GitLab