From 49980e8007f849dab831532723a31a4c77fc4a60 Mon Sep 17 00:00:00 2001 From: Ben Lynn Date: Mon, 15 Sep 2008 05:09:58 -0700 Subject: [PATCH] Plugged more memory leaks. --- bihom.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bihom.c b/bihom.c index 7fde217..4180774 100644 --- a/bihom.c +++ b/bihom.c @@ -143,6 +143,10 @@ static void *bihom(cf_t cf) { pqrs_clear(qr); mpz_clear(z); mpz_clear(t0); mpz_clear(t1); + for (int i = 0; i < 8; i++) { + mpz_clear(bd->a[i]); + } + free(bd); return NULL; } -- 2.11.4.GIT