mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -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
|
||||
Curl_safefree(conn->ntlm.target_info);
|
||||
conn->ntlm.target_info_len = 0;
|
||||
#endif
|
||||
|
||||
Curl_safefree(conn->proxyntlm.target_info);
|
||||
conn->proxyntlm.target_info_len = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* USE_NTLM */
|
||||
|
Loading…
Reference in New Issue
Block a user