diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-10-02 16:59:26 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-10-02 16:59:26 +0200 |
commit | bcaad8094ea07a0f895fc5ee84388bdbe25038fa (patch) | |
tree | b1b906b7c6841216dd0d39a72d69a9c37ff5137a /ssl | |
parent | Don't use DES when disabled. (diff) | |
download | openssl-bcaad8094ea07a0f895fc5ee84388bdbe25038fa.tar.xz openssl-bcaad8094ea07a0f895fc5ee84388bdbe25038fa.zip |
fix memory leak
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/statem/statem_srvr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index c7d77ae5ec..008ebda132 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; |