From 94bb7fe5cb1357f430e384ca58cff9314777805f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 5 Mar 2009 01:23:14 +0000 Subject: Fix NTLM authentication memory leak on SSPI enabled Windows builds --- lib/http_ntlm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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) -- cgit v1.2.3