Loading lib/http.c +4 −12 Original line number Diff line number Diff line Loading @@ -2312,20 +2312,12 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) te ); /* * Free userpwd for Negotiate/NTLM. Cannot reuse as it is associated with * the connection and shouldn't be repeated over it either. */ switch (data->state.authhost.picked) { case CURLAUTH_NEGOTIATE: case CURLAUTH_NTLM: case CURLAUTH_NTLM_WB: /* clear userpwd to avoid re-using credentials from re-used connections */ Curl_safefree(conn->allocptr.userpwd); break; } /* * Same for proxyuserpwd * Free proxyuserpwd for Negotiate/NTLM. Cannot reuse as it is associated * with the connection and shouldn't be repeated over it either. */ switch (data->state.authproxy.picked) { case CURLAUTH_NEGOTIATE: Loading Loading
lib/http.c +4 −12 Original line number Diff line number Diff line Loading @@ -2312,20 +2312,12 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) te ); /* * Free userpwd for Negotiate/NTLM. Cannot reuse as it is associated with * the connection and shouldn't be repeated over it either. */ switch (data->state.authhost.picked) { case CURLAUTH_NEGOTIATE: case CURLAUTH_NTLM: case CURLAUTH_NTLM_WB: /* clear userpwd to avoid re-using credentials from re-used connections */ Curl_safefree(conn->allocptr.userpwd); break; } /* * Same for proxyuserpwd * Free proxyuserpwd for Negotiate/NTLM. Cannot reuse as it is associated * with the connection and shouldn't be repeated over it either. */ switch (data->state.authproxy.picked) { case CURLAUTH_NEGOTIATE: Loading