fixed a possible reference to a broken memory
MFC after: 1 day
This commit is contained in:
parent
09e89a0a12
commit
5f0c6053a8
@ -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