diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index e686020f643c..bded2521dd19 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -2082,7 +2082,7 @@ send_data(FILE *instr, FILE *outstr, size_t blksize, off_t filesize, int isreg) write(netfd, buf, cnt) == cnt) byte_count += cnt; transflag = 0; - (void)free(buf); + free(buf); if (cnt != 0) { if (cnt < 0) goto file_err;