[openssl-commits] [openssl] master update
Dr. Stephen Henson
steve at openssl.org
Sun Oct 2 17:54:31 UTC 2016
The branch master has been updated
via bcaad8094ea07a0f895fc5ee84388bdbe25038fa (commit)
from c1eba83fa0069feeb3513e537837b1458dd2b359 (commit)
- Log -----------------------------------------------------------------
commit bcaad8094ea07a0f895fc5ee84388bdbe25038fa
Author: Dr. Stephen Henson <steve at openssl.org>
Date: Sun Oct 2 15:59:26 2016 +0100
fix memory leak
Reviewed-by: Rich Salz <rsalz at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
ssl/statem/statem_srvr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c
index c7d77ae..008ebda 100644
--- a/ssl/statem/statem_srvr.c
+++ b/ssl/statem/statem_srvr.c
@@ -3103,6 +3103,8 @@ int tls_construct_new_session_ticket(SSL *s)
SSLerr(SSL_F_TLS_CONSTRUCT_NEW_SESSION_TICKET, ERR_R_INTERNAL_ERROR);
goto err;
}
+ EVP_CIPHER_CTX_free(ctx);
+ HMAC_CTX_free(hctx);
OPENSSL_free(senc);
return 1;
More information about the openssl-commits
mailing list