diff options
-rw-r--r-- | lib/curl_ntlm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/curl_ntlm.c b/lib/curl_ntlm.c index 0995eab27..8c02aba5d 100644 --- a/lib/curl_ntlm.c +++ b/lib/curl_ntlm.c @@ -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 */ |