mirror of
https://github.com/moparisthebest/curl
synced 2025-03-01 01:41:50 -05:00
Lars M Gustafsson showed us that the free(urlbuffer) was totally unnecessary
and plain wrong.
This commit is contained in:
parent
508466a175
commit
84e462d5f6
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user