summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-12-16 07:17:56 +0000
committeryar <yar@FreeBSD.org>2004-12-16 07:17:56 +0000
commit33935e064e5d9ff885c088ba939120cf91431eff (patch)
treef1bb19d3ebab391d05e3935e0029ecddffb1b5ca /libexec
parent631d6f6fe22e60a4704bc1850d50068693468cac (diff)
downloadFreeBSD-src-33935e064e5d9ff885c088ba939120cf91431eff.zip
FreeBSD-src-33935e064e5d9ff885c088ba939120cf91431eff.tar.gz
free(3) is void already.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index e686020..bded252 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -2082,7 +2082,7 @@ oldway:
write(netfd, buf, cnt) == cnt)
byte_count += cnt;
transflag = 0;
- (void)free(buf);
+ free(buf);
if (cnt != 0) {
if (cnt < 0)
goto file_err;
OpenPOWER on IntegriCloud