summaryrefslogtreecommitdiff
path: root/tests/random.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-04-02 08:47:18 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-04-02 08:47:18 +0000
commite12e1242c028482a1add89e0b1b914de11b0bbf7 (patch)
treef2fda6b53c129b47aaa48e0dcc57b46b49286c3d /tests/random.c
parente4ff245859293937f081a633c2671eda91848d48 (diff)
downloadmpc-e12e1242c028482a1add89e0b1b914de11b0bbf7.tar.gz
[norm.c] fixed memory leak (found by valgrind)
[inp_str.c] fixed bug report found with -D_FORTIFY_SOURCE=2 (http://lists.gforge.inria.fr/pipermail/mpc-discuss/2009-April/000182.html) [random.c] fixed memory leak (found by valgrind) [Makefile.am] indentation [README.dev] added use of valgrind before doing a release git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@530 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/random.c')
-rw-r--r--tests/random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/random.c b/tests/random.c
index a28c464..cfd7260 100644
--- a/tests/random.c
+++ b/tests/random.c
@@ -96,6 +96,7 @@ test_end (void)
rands_initialized = 0;
gmp_randclear (rands);
}
+ mpfr_free_cache ();
}
/* wrapper for gmp_urandomb_ui, which did not exist in old versions of GMP */