aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_schannel.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-07-05 23:41:47 +0200
committerYang Tse <yangsita@gmail.com>2012-07-05 23:41:47 +0200
commitb1f64d3a2a2989cfc79893f63881017645390056 (patch)
treea3b2b58df515daddd61230c4a83282351a5d92b6 /lib/curl_schannel.c
parente77d8670685d38d80c940877a4fdfa3382c4d6cc (diff)
unicode NTLM SSPI: cleanup follow-up
Diffstat (limited to 'lib/curl_schannel.c')
-rw-r--r--lib/curl_schannel.c2
1 files changed, 1 insertions, 1 deletions
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);
}