summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-12-01 22:39:58 +0100
committerJim Meyering <meyering@redhat.com>2008-12-01 22:44:20 +0100
commite181802521d4e19e367dbe8cfa877296bb5dafb2 (patch)
tree100aaa603a588ceca2765cdb77aeeb8b2058df91 /src
parentc58b5daa337b16416be50adfeb3e99e3c009c891 (diff)
downloadcoreutils-e181802521d4e19e367dbe8cfa877296bb5dafb2.tar.xz
seq: plug a leak
* src/factor.c (emit_ul_factor): Call mpz_clear.
Diffstat (limited to 'src')
-rw-r--r--src/factor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/factor.c b/src/factor.c
index 187143a0a..83cd0a8a5 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -82,6 +82,7 @@ emit_ul_factor (unsigned long int i)
mpz_init (t);
mpz_set_ui (t, i);
emit_factor (t);
+ mpz_clear (t);
}
static void