From c5f8e2f5f431e84fa3baf7e1205c0ea9b5a4db19 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 7 Feb 2014 21:32:29 +0000 Subject: [PATCH] tool_operate: Let curl handle cleanup take place in config_free() --- src/tool_operate.c | 6 ------ 1 file changed, 6 deletions(-) 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