Fix NTLM authentication memory leak on SSPI enabled Windows builds

This commit is contained in:
Yang Tse 2009-03-05 01:23:14 +00:00
parent b98e0aa09b
commit 94bb7fe5cb
3 changed files with 7 additions and 4 deletions

View file

@ -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)