aboutsummaryrefslogtreecommitdiff
path: root/lib/http_ntlm.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-03-05 01:23:14 +0000
committerYang Tse <yangsita@gmail.com>2009-03-05 01:23:14 +0000
commit94bb7fe5cb1357f430e384ca58cff9314777805f (patch)
treef71d5b85d863324aab4407220cec9c20ce9b7190 /lib/http_ntlm.c
parentb98e0aa09b39e8159b30469997aa92474a5f0032 (diff)
Fix NTLM authentication memory leak on SSPI enabled Windows builds
Diffstat (limited to 'lib/http_ntlm.c')
-rw-r--r--lib/http_ntlm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index 9742e196d..e1141f310 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -303,9 +303,8 @@ CURLntlm Curl_input_ntlm(struct connectdata *conn,
fprintf(stderr, "\n****\n");
fprintf(stderr, "**** Header %s\n ", header);
});
-
- free(buffer);
#endif
+ free(buffer);
}
else {
if(ntlm->state >= NTLMSTATE_TYPE1)