From 27316cd264981b5fc0ea31cef4d85f5e32534963 Mon Sep 17 00:00:00 2001 From: Ben Lynn Date: Mon, 15 Sep 2008 04:50:29 -0700 Subject: [PATCH] Patched memory leak. --- cf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cf.c b/cf.c index fd78736..51eca4f 100644 --- a/cf.c +++ b/cf.c @@ -69,6 +69,7 @@ void cf_free(cf_t cf) { channel_ptr c = cf->chan; while (c) { channel_ptr cnext = c->next; + mpz_clear(c->data); free(c->data); free(c); c = cnext; -- 2.11.4.GIT