mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 19:45:04 -05:00
ntlm: Fixed a memory leak when using NTLM with a proxy server
This commit is contained in:
parent
784f225266
commit
97857de80e
@ -239,8 +239,10 @@ void Curl_http_ntlm_cleanup(struct connectdata *conn)
|
|||||||
#ifndef USE_WINDOWS_SSPI
|
#ifndef USE_WINDOWS_SSPI
|
||||||
Curl_safefree(conn->ntlm.target_info);
|
Curl_safefree(conn->ntlm.target_info);
|
||||||
conn->ntlm.target_info_len = 0;
|
conn->ntlm.target_info_len = 0;
|
||||||
#endif
|
|
||||||
|
|
||||||
|
Curl_safefree(conn->proxyntlm.target_info);
|
||||||
|
conn->proxyntlm.target_info_len = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* USE_NTLM */
|
#endif /* USE_NTLM */
|
||||||
|
Loading…
Reference in New Issue
Block a user