curl_ntlm_msgs.c: revert commit 463082bea4

reverts unreleased invalid memory leak fix
This commit is contained in:
Yang Tse 2013-03-23 01:44:57 +01:00
parent 11219b3c93
commit c5eabd48e8

View File

@ -406,7 +406,6 @@ CURLcode Curl_ntlm_create_type1_message(const char *userp,
*(dup_domain.tchar_ptr + domlen) = TEXT('\0');
ntlm->identity.Domain = dup_domain.tbyte_ptr;
ntlm->identity.DomainLength = curlx_uztoul(domlen);
free(dup_domain.tchar_ptr);
dup_domain.tchar_ptr = NULL;
Curl_unicodefree(useranddomain.tchar_ptr);