summaryrefslogtreecommitdiff
path: root/out_str.c
diff options
context:
space:
mode:
authorhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>1999-06-25 10:14:45 +0000
committerhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>1999-06-25 10:14:45 +0000
commit1f9c2b59de52784c59f584d6e609ac6f39bb5ac6 (patch)
tree76f0ef38586ff79d14c1e689804eb275f734f13a /out_str.c
parent2e932e46c506c4a8a9edc3a41b4b51ea58a612d7 (diff)
downloadmpfr-1f9c2b59de52784c59f584d6e609ac6f39bb5ac6.tar.gz
Patch for a memory leak.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@171 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'out_str.c')
-rw-r--r--out_str.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/out_str.c b/out_str.c
index 220cbfc81..1b4d6ebd9 100644
--- a/out_str.c
+++ b/out_str.c
@@ -28,5 +28,6 @@ size_t mpfr_out_str (FILE *stream, int base, size_t n_digits, mpfr_srcptr op,
fprintf(stream, "%s", s);
}
+ free(s);
return l;
}