aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_operate.c6
1 files changed, 0 insertions, 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