From: Steve Holme Date: Fri, 7 Feb 2014 21:32:29 +0000 (+0000) Subject: tool_operate: Let curl handle cleanup take place in config_free() X-Git-Tag: curl-7_36_0~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5f8e2f5f4;p=thirdparty%2Fcurl.git tool_operate: Let curl handle cleanup take place in config_free() --- diff --git a/src/tool_operate.c b/src/tool_operate.c index 46d20bf578..326b5493f3 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1773,12 +1773,6 @@ static int operate_do(struct Configurable *config) /* Free list of given URLs */ clean_getout(config); - /* Cleanup the curl handle now that our - progressbar struct is still in scope */ - if(curl) { - curl_easy_cleanup(curl); - config->easy = curl = NULL; - } #ifndef CURL_DISABLE_LIBCURL_OPTION easysrc_cleanup(); #endif