Commit 60435135 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

secur32: Don't leak the credentials handle when pgnutls_certificate_allocate_credentials() fails.

parent f6129d7d
......@@ -295,6 +295,7 @@ static SECURITY_STATUS schan_AcquireClientCredentials(const SCHANNEL_CRED *schan
if (ret != GNUTLS_E_SUCCESS)
{
pgnutls_perror(ret);
schan_free_handle(handle, SCHAN_HANDLE_CRED);
goto fail;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment