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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5f8e2f5f431e84fa3baf7e1205c0ea9b5a4db19;p=curl tool_operate: Let curl handle cleanup take place in config_free() --- diff --git a/src/tool_operate.c b/src/tool_operate.c index 46d20bf57..326b5493f 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