From: Daniel Stenberg Date: Mon, 19 Nov 2001 19:21:06 +0000 (+0000) Subject: Lars M Gustafsson showed us that the free(urlbuffer) was totally unnecessary X-Git-Tag: curl-7_9_2~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84e462d5f644a21923ec812ad2a47ae52ffa7cdf;p=thirdparty%2Fcurl.git Lars M Gustafsson showed us that the free(urlbuffer) was totally unnecessary and plain wrong. --- diff --git a/src/main.c b/src/main.c index 0cce58ea1b..f419e0ac5c 100644 --- a/src/main.c +++ b/src/main.c @@ -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);