From: Daniel Stenberg Date: Sat, 4 Oct 2003 15:25:02 +0000 (+0000) Subject: Jon Turner mentioned this bug fix to correct how libcurl deals with paths X-Git-Tag: curl-7_10_8~178 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45ef092cc265dacf080a9ae6d24fa0886f4eaea8;p=curl Jon Turner mentioned this bug fix to correct how libcurl deals with paths after a failed transfer. --- diff --git a/lib/ftp.c b/lib/ftp.c index 25d1f958c..0da33fbbc 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -2234,6 +2234,8 @@ CURLcode Curl_ftp(struct connectdata *conn) /* since we didn't connect now, we want do_more to get called */ conn->bits.do_more = TRUE; } + else + freedirs(ftp); return retcode; }