1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

ntlm: Fixed a memory leak when using NTLM with a proxy server

This commit is contained in:
Steve Holme 2014-01-30 20:59:26 +00:00
parent 784f225266
commit 97857de80e

View File

@ -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 */