Ingo Wilken's redirect fixes

This commit is contained in:
Daniel Stenberg 2001-05-11 06:10:48 +00:00
parent dc6da007ad
commit fef1fc0d32
2 changed files with 7 additions and 0 deletions

View file

@ -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 */