diff options
| author | Assar Westerlund <assar@FreeBSD.org> | 2001-06-18 04:40:52 +0000 |
|---|---|---|
| committer | Assar Westerlund <assar@FreeBSD.org> | 2001-06-18 04:40:52 +0000 |
| commit | a52532c91aa8b3a31a969908fb0e7a5ce64951fd (patch) | |
| tree | 4704e2951f10f3ecf7fe93362967128892854f82 /lib/libc/stdio/sprintf.c | |
| parent | a9992a76a3c41d7ee2ba2ccf588b6733df566214 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/sprintf.c')
| -rw-r--r-- | lib/libc/stdio/sprintf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/stdio/sprintf.c b/lib/libc/stdio/sprintf.c index 04910e02e6cd..a8100961fa4d 100644 --- a/lib/libc/stdio/sprintf.c +++ b/lib/libc/stdio/sprintf.c @@ -77,7 +77,5 @@ sprintf(str, fmt, va_alist) ret = __vfprintf(&f, fmt, ap); va_end(ap); *f._p = 0; - if (str == NULL) - free(f._bf._base); return (ret); } |
