free(3) is void already.
This commit is contained in:
parent
0db3f4f9c7
commit
8efc8b18e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user