diff options
author | Gisle Vanem <gisle.vanem@gmail.com> | 2021-01-14 17:09:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 17:09:37 +0100 |
commit | d4e291e00ad9cf4e37cdabc2c4cd0e67319b9910 (patch) | |
tree | cf0ba5a44cb094c9936bb159374afbe6d23bc271 | |
parent | 8f32ead8bf38ba7cb86c98f16db7c0e28a5c07c8 (diff) | |
download | curl-schannel-leak.tar.gz |
Schannel: plug a memory-leakschannel-leak
-rw-r--r-- | lib/vtls/schannel_verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/schannel_verify.c b/lib/vtls/schannel_verify.c index 31b3b2f02..2a6049e0e 100644 --- a/lib/vtls/schannel_verify.c +++ b/lib/vtls/schannel_verify.c @@ -522,7 +522,7 @@ static CURLcode verify_host(struct Curl_easy *data, failf(data, "schannel: server certificate name verification failed"); cleanup: - curlx_unicodefree(cert_hostname_buff); + curl_safefree(cert_hostname_buff); return result; } |