diff options
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1520,6 +1520,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, else { memcpy(p, userpwd, username_len); p[username_len] = '\0'; + Curl_safefree(data->set.str[STRING_USERNAME]); data->set.str[STRING_USERNAME] = p; } |