diff --git a/lib/curl_ntlm_msgs.c b/lib/curl_ntlm_msgs.c index e2dd05e76..125ce6e49 100644 --- a/lib/curl_ntlm_msgs.c +++ b/lib/curl_ntlm_msgs.c @@ -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);