diff options
| -rw-r--r-- | lib/curl_schannel.c | 2 | 
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);      }  | 
