mirror of
https://github.com/curl/curl.git
synced 2026-08-04 08:59:58 +03:00
parent
d3b04e5600
commit
bcd0497c81
19 changed files with 41 additions and 80 deletions
|
|
@ -3655,8 +3655,7 @@ static void ftp_done_path(struct Curl_easy *data, struct ftp_conn *ftpc,
|
|||
* the error path) */
|
||||
ftpc->ctl_valid = FALSE; /* mark control connection as bad */
|
||||
connclose(conn, "FTP: out of memory!"); /* mark for connection closure */
|
||||
curlx_free(ftpc->prevpath);
|
||||
ftpc->prevpath = NULL; /* no path remembering */
|
||||
curlx_safefree(ftpc->prevpath); /* no path remembering */
|
||||
}
|
||||
else { /* remember working directory for connection reuse */
|
||||
const char *rawPath = ftpc->rawpath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue