summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/pexpr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/pexpr.c b/demos/pexpr.c
index ce2818781..d5009e9ee 100644
--- a/demos/pexpr.c
+++ b/demos/pexpr.c
@@ -1,7 +1,7 @@
/* Program for computing integer expressions using the GNU Multiple Precision
Arithmetic Library.
-Copyright 1997, 1999-2002, 2005, 2008, 2012 Free Software Foundation, Inc.
+Copyright 1997, 1999-2002, 2005, 2008, 2012, 2015 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -480,6 +480,8 @@ main (int argc, char **argv)
free_expr (e);
}
+ mpz_clear (r);
+
exit (errcode);
}