Skip to content
Snippets Groups Projects
Commit 97857de8 authored by Steve Holme's avatar Steve Holme
Browse files

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

parent 784f2252
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment