Commit c5f8e2f5 authored by Steve Holme's avatar Steve Holme
Browse files

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

parent 6374ab2a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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