summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vsprintf.c
diff options
context:
space:
mode:
authorAssar Westerlund <assar@FreeBSD.org>2001-06-18 04:40:52 +0000
committerAssar Westerlund <assar@FreeBSD.org>2001-06-18 04:40:52 +0000
commita52532c91aa8b3a31a969908fb0e7a5ce64951fd (patch)
tree4704e2951f10f3ecf7fe93362967128892854f82 /lib/libc/stdio/vsprintf.c
parenta9992a76a3c41d7ee2ba2ccf588b6733df566214 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/vsprintf.c')
-rw-r--r--lib/libc/stdio/vsprintf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/stdio/vsprintf.c b/lib/libc/stdio/vsprintf.c
index 9bcd0753e982..dbfd339e2d3e 100644
--- a/lib/libc/stdio/vsprintf.c
+++ b/lib/libc/stdio/vsprintf.c
@@ -61,7 +61,5 @@ vsprintf(str, fmt, ap)
f._bf._size = f._w = INT_MAX;
ret = __vfprintf(&f, fmt, ap);
*f._p = 0;
- if (str == NULL)
- free(f._bf._base);
return (ret);
}