aboutsummaryrefslogtreecommitdiff
path: root/lib/highlevel.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-10-11 10:29:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-10-11 10:29:25 +0000
commit85174ed358307a611dfa796315ab3485b2a38c3d (patch)
tree60a67261a8dc222d71496d4944a16d4e9cfeec83 /lib/highlevel.c
parent111d1d09d3f9e6cea3ec89fadc028dd75b8a7b98 (diff)
memory leak adjusts
Diffstat (limited to 'lib/highlevel.c')
-rw-r--r--lib/highlevel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/highlevel.c b/lib/highlevel.c
index b290d9ff6..add9735b8 100644
--- a/lib/highlevel.c
+++ b/lib/highlevel.c
@@ -722,6 +722,7 @@ CURLcode curl_transfer(CURL *curl)
/* TBD: set the URL with curl_setopt() */
data->url = data->newurl;
data->newurl = NULL; /* don't show! */
+ data->bits.urlstringalloc = TRUE; /* the URL is allocated */
/* Disable both types of POSTs, since doing a second POST when
following isn't what anyone would want! */