tool_operate: Let curl handle cleanup take place in config_free()

This commit is contained in:
Steve Holme 2014-02-07 21:32:29 +00:00
parent 6374ab2a36
commit c5f8e2f5f4
1 changed files with 0 additions and 6 deletions

View File

@ -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