Submitted by: Adam Langley <agl@chromium.org>

Reviewed by: steve

Fix memory leaks.
This commit is contained in:
Dr. Stephen Henson
2012-01-04 14:25:42 +00:00
parent b3720c34e5
commit 25536ea6a7
2 changed files with 7 additions and 0 deletions

View File

@@ -2301,6 +2301,7 @@ int ssl3_get_client_key_exchange(SSL *s)
if (i <= 0)
{
SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,ERR_R_DH_LIB);
BN_clear_free(pub);
goto err;
}