curl_ntlm_msgs.c: revert commit 463082bea4
reverts unreleased invalid memory leak fix
This commit is contained in:
parent
11219b3c93
commit
c5eabd48e8
@ -406,7 +406,6 @@ CURLcode Curl_ntlm_create_type1_message(const char *userp,
|
|||||||
*(dup_domain.tchar_ptr + domlen) = TEXT('\0');
|
*(dup_domain.tchar_ptr + domlen) = TEXT('\0');
|
||||||
ntlm->identity.Domain = dup_domain.tbyte_ptr;
|
ntlm->identity.Domain = dup_domain.tbyte_ptr;
|
||||||
ntlm->identity.DomainLength = curlx_uztoul(domlen);
|
ntlm->identity.DomainLength = curlx_uztoul(domlen);
|
||||||
free(dup_domain.tchar_ptr);
|
|
||||||
dup_domain.tchar_ptr = NULL;
|
dup_domain.tchar_ptr = NULL;
|
||||||
|
|
||||||
Curl_unicodefree(useranddomain.tchar_ptr);
|
Curl_unicodefree(useranddomain.tchar_ptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user