diff options
author | Pauli <paul.dale@oracle.com> | 2020-04-27 09:10:15 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-04-30 20:21:32 +1000 |
commit | 67d744b933b4f31a5b9a5341f2cfea7535363a88 (patch) | |
tree | 3d7ac88d636ffd4e929503ef2b2db2e6b94588d5 | |
parent | d4d67bafe704c28e86ec8c19b62fdb541dec7a3e (diff) |
coverity 1462570 Resource leak
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11651)
-rw-r--r-- | ssl/tls13_enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/tls13_enc.c b/ssl/tls13_enc.c index e23309e4a3..e81f3656ee 100644 --- a/ssl/tls13_enc.c +++ b/ssl/tls13_enc.c @@ -608,6 +608,7 @@ int tls13_change_cipher_state(SSL *s, int which) SSLfatal(s, SSL_AD_INTERNAL_ERROR, SSL_F_TLS13_CHANGE_CIPHER_STATE, SSL_R_ALGORITHM_FETCH_FAILED); + EVP_MD_CTX_free(mdctx); goto err; } |