aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-11 12:25:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-11 12:25:30 +0000
commitacfa131c8cc94930064c23561892a83295aaffd3 (patch)
tree67a87f92bc8928841c723562c452f7ac98292fa5
parent793d0e27e1e752c961dd886dcd106c67f8bc8513 (diff)
memory leak fixed when re-using connections with proxy user+passwd
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 46245a5ce..9fd1ce576 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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 */