fixed a possible reference to a broken memory
MFC after: 1 day
This commit is contained in:
parent
4156b20c71
commit
7c6523affc
@ -971,9 +971,9 @@ ftp_copycommand(int src, int dst, enum state *state)
|
||||
return n;
|
||||
}
|
||||
|
||||
freeaddrinfo(res);
|
||||
memcpy(&data6, res->ai_addr, res->ai_addrlen);
|
||||
|
||||
freeaddrinfo(res);
|
||||
goto sendport;
|
||||
} else if (strcmp(cmd, "LPSV") == 0 && !param) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user