memory leak fixed when re-using connections with proxy user+passwd

This commit is contained in:
Daniel Stenberg 2003-08-11 12:25:30 +00:00
parent 793d0e27e1
commit acfa131c8c

View File

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