From b1f64d3a2a2989cfc79893f63881017645390056 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 5 Jul 2012 23:41:47 +0200 Subject: unicode NTLM SSPI: cleanup follow-up --- lib/curl_schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3