mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:43:31 +03:00
Fix NTLM authentication memory leak on SSPI enabled Windows builds
This commit is contained in:
parent
b98e0aa09b
commit
94bb7fe5cb
3 changed files with 7 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue