summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2007-11-20 14:43:14 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2007-11-20 14:43:14 +0000
commit5cda8158a3dacfdb60fed134e92e9d2f7752c980 (patch)
tree7427b3c83363d3169596596f9705222a576351e7 /tests
parent8464b464ea878d1fcda732579cf8b1b331baf541 (diff)
downloadmpfr-5cda8158a3dacfdb60fed134e92e9d2f7752c980.tar.gz
reverted back to rev. 4951 (otherwise we would have to free memory for all
exit calls) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4957 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tinp_str.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/tinp_str.c b/tests/tinp_str.c
index 1c7088650..4957cc47c 100644
--- a/tests/tinp_str.c
+++ b/tests/tinp_str.c
@@ -40,8 +40,6 @@ main (int argc, char *argv[])
if (f == NULL)
{
printf ("Error, can't open inp_str.data\n");
- mpfr_clear (x);
- tests_end_mpfr ();
exit (1);
}
i = mpfr_inp_str (x, f, 10, GMP_RNDN);
@@ -49,8 +47,6 @@ main (int argc, char *argv[])
{
printf ("Error in reading 1st line from file inp_str.data (%d)\n", i);
mpfr_dump (x);
- mpfr_clear (x);
- tests_end_mpfr ();
exit (1);
}
getc (f);
@@ -59,8 +55,6 @@ main (int argc, char *argv[])
{
printf ("Error in reading 2nd line from file inp_str.data (%d)\n", i);
mpfr_dump (x);
- mpfr_clear (x);
- tests_end_mpfr ();
exit (1);
}
getc (f);
@@ -69,8 +63,6 @@ main (int argc, char *argv[])
{
printf ("Error in reading 3rd line from file inp_str.data (%d)\n", i);
mpfr_dump (x);
- mpfr_clear (x);
- tests_end_mpfr ();
exit (1);
}
fclose (f);