Commit acfa131c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 793d0e27
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 */