From 8efc8b18e55022b59860d211b6273c746313db61 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Thu, 16 Dec 2004 07:17:56 +0000 Subject: [PATCH] free(3) is void already. --- libexec/ftpd/ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;