mirror of
https://github.com/curl/curl.git
synced 2026-07-23 18:37:17 +03:00
memory leak fixed when re-using connections with proxy user+passwd
This commit is contained in:
parent
793d0e27e1
commit
acfa131c8c
1 changed files with 2 additions and 0 deletions
|
|
@ -2882,6 +2882,8 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
|||
|
||||
free(old_conn->user);
|
||||
free(old_conn->passwd);
|
||||
free(old_conn->proxyuser);
|
||||
free(old_conn->proxypasswd);
|
||||
|
||||
free(old_conn); /* we don't need this anymore */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue