From: Yang Tse Date: Thu, 5 Jul 2012 21:41:47 +0000 (+0200) Subject: unicode NTLM SSPI: cleanup follow-up X-Git-Tag: curl-7_27_0~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1f64d3a2a2989cfc79893f63881017645390056;p=curl unicode NTLM SSPI: cleanup follow-up --- diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c index 43c006685..0a2e398eb 100644 --- a/lib/curl_schannel.c +++ b/lib/curl_schannel.c @@ -1269,7 +1269,7 @@ static CURLcode verify_certificate(struct connectdata *conn, int sockindex) failf(data, "schannel: CertGetNameString() certificate hostname " "(%s) did not match connection (%s)", _cert_hostname, conn->host.name); - Curl_safefree(_cert_hostname); + Curl_unicodefree(_cert_hostname); } Curl_unicodefree(hostname.tchar_ptr); }