]> granicus.if.org Git - curl/commitdiff
memory leak fixed when re-using connections with proxy user+passwd
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Aug 2003 12:25:30 +0000 (12:25 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Aug 2003 12:25:30 +0000 (12:25 +0000)
lib/url.c

index 46245a5cedb71ffb1aab2dee5d88ff17dbd16a83..9fd1ce5762c1d69c64606090b5ea12bd32993621 100644 (file)
--- 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 */