aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-07 21:32:29 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-09 10:57:56 +0000
commitc5f8e2f5f431e84fa3baf7e1205c0ea9b5a4db19 (patch)
treef18d356d125e5b16a70ac398af85278d87afe927
parent6374ab2a36e7d287039b0fc148f9079f2ae5fb97 (diff)
tool_operate: Let curl handle cleanup take place in config_free()
-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