mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 15:05:02 -05:00
schannel: plug a memory-leak
... when built without -DUNICODE. Closes #6457
This commit is contained in:
parent
70c4fad734
commit
e87ad71d1b
@ -522,7 +522,7 @@ static CURLcode verify_host(struct Curl_easy *data,
|
|||||||
failf(data, "schannel: server certificate name verification failed");
|
failf(data, "schannel: server certificate name verification failed");
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
curlx_unicodefree(cert_hostname_buff);
|
curl_safefree(cert_hostname_buff);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user