summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-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