diff options
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 582392148..1dad615f4 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -910,6 +910,7 @@ CURLcode Curl_perform(CURL *curl) /* TBD: set the URL with curl_setopt() */ data->url = newurl; + newurl = NULL; /* don't free! */ data->bits.urlstringalloc = TRUE; /* the URL is allocated */ |