mirror of
https://github.com/curl/curl.git
synced 2026-04-15 19:31:40 +03:00
schannel: plug a memory-leak
... when built without -DUNICODE. Closes #6457
This commit is contained in:
parent
70c4fad734
commit
e87ad71d1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue