Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -2322,8 +2322,6 @@ operate(struct Configurable *config, int argc, char *argv[]) ...@@ -2322,8 +2322,6 @@ operate(struct Configurable *config, int argc, char *argv[])
if(config->headerfile && !headerfilep && heads.stream) if(config->headerfile && !headerfilep && heads.stream)
fclose(heads.stream); fclose(heads.stream);
if(urlbuffer)
free(urlbuffer);
if (outfile && !strequal(outfile, "-") && outs.stream) if (outfile && !strequal(outfile, "-") && outs.stream)
fclose(outs.stream); fclose(outs.stream);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment