free(3) is void already.

This commit is contained in:
Yaroslav Tykhiy 2004-12-16 07:17:56 +00:00
parent 0db3f4f9c7
commit 8efc8b18e5

View File

@ -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;