From 84e462d5f644a21923ec812ad2a47ae52ffa7cdf Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 19 Nov 2001 19:21:06 +0000
Subject: [PATCH] Lars M Gustafsson showed us that the free(urlbuffer) was
 totally unnecessary and plain wrong.

---
 src/main.c | 2 --
 1 file changed, 2 deletions(-)

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);
 
-- 
GitLab