Loading lib/ftp.c +2 −1 Original line number Diff line number Diff line Loading @@ -2485,10 +2485,11 @@ CURLcode Curl_ftp_disconnect(struct connectdata *conn) Curl_ftp_quit() will check the state of ftp->ctl_valid. If it's ok it will try to send the QUIT command, otherwise it will just return. */ (void)Curl_ftp_quit(conn); /* ignore errors on the QUIT */ /* The FTP session may or may not have been allocated/setup at this point! */ if(ftp) { (void)Curl_ftp_quit(conn); /* ignore errors on the QUIT */ if(ftp->entrypath) free(ftp->entrypath); if(ftp->cache) { Loading Loading
lib/ftp.c +2 −1 Original line number Diff line number Diff line Loading @@ -2485,10 +2485,11 @@ CURLcode Curl_ftp_disconnect(struct connectdata *conn) Curl_ftp_quit() will check the state of ftp->ctl_valid. If it's ok it will try to send the QUIT command, otherwise it will just return. */ (void)Curl_ftp_quit(conn); /* ignore errors on the QUIT */ /* The FTP session may or may not have been allocated/setup at this point! */ if(ftp) { (void)Curl_ftp_quit(conn); /* ignore errors on the QUIT */ if(ftp->entrypath) free(ftp->entrypath); if(ftp->cache) { Loading