diff options
author | Yang Tse <yangsita@gmail.com> | 2013-03-24 04:47:57 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-03-25 03:32:47 +0100 |
commit | acafe9c160e6c299d48d72ab93fdb7abfcbf3ed2 (patch) | |
tree | c3b87a727a0360917dc545b631cfab43b0aed623 /lib/url.c | |
parent | 8ec2cb5544b86306b702484ea785b6b9596562ab (diff) |
NTLM: fix several NTLM code paths memory leaks
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2523,13 +2523,13 @@ CURLcode Curl_disconnect(struct connectdata *conn, bool dead_connection) data->state.authproxy.want; } - if(has_host_ntlm || has_proxy_ntlm) { + if(has_host_ntlm || has_proxy_ntlm) data->state.authproblem = FALSE; - - Curl_http_ntlm_cleanup(conn); - } } + /* Cleanup NTLM connection-related data */ + Curl_http_ntlm_cleanup(conn); + /* Cleanup possible redirect junk */ if(data->req.newurl) { free(data->req.newurl); |