mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:53:37 +03:00
NTLM: fix several NTLM code paths memory leaks
This commit is contained in:
parent
8ec2cb5544
commit
acafe9c160
3 changed files with 16 additions and 13 deletions
|
|
@ -2523,13 +2523,13 @@ CURLcode Curl_disconnect(struct connectdata *conn, bool dead_connection)
|
|||
data->state.authproxy.want;
|
||||
}
|
||||
|
||||
if(has_host_ntlm || has_proxy_ntlm) {
|
||||
if(has_host_ntlm || has_proxy_ntlm)
|
||||
data->state.authproblem = FALSE;
|
||||
|
||||
Curl_http_ntlm_cleanup(conn);
|
||||
}
|
||||
}
|
||||
|
||||
/* Cleanup NTLM connection-related data */
|
||||
Curl_http_ntlm_cleanup(conn);
|
||||
|
||||
/* Cleanup possible redirect junk */
|
||||
if(data->req.newurl) {
|
||||
free(data->req.newurl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue