Commit 84e462d5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Lars M Gustafsson showed us that the free(urlbuffer) was totally unnecessary

and plain wrong.
parent 508466a1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2322,8 +2322,6 @@ operate(struct Configurable *config, int argc, char *argv[])
      if(config->headerfile && !headerfilep && heads.stream)
        fclose(heads.stream);

      if(urlbuffer)
        free(urlbuffer);
      if (outfile && !strequal(outfile, "-") && outs.stream)
        fclose(outs.stream);