From 1da75fada9475e0172ed2a6186fb79ed8a543cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Thu, 12 Jul 2018 22:32:59 +0200 Subject: Fix memory leak in eccdata. --- eccdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eccdata.c') diff --git a/eccdata.c b/eccdata.c index a4723f1e..92e244bd 100644 --- a/eccdata.c +++ b/eccdata.c @@ -1143,7 +1143,7 @@ output_curve (const struct ecc_curve *ecc, unsigned bits_per_limb) printf ("#else\n"); - mpz_init_set_ui (t, 1); + mpz_set_ui (t, 1); output_bignum ("ecc_unit", t, limb_size, bits_per_limb); printf ("static const mp_limb_t ecc_table[%lu] = {", -- cgit v1.2.1