From 67d744b933b4f31a5b9a5341f2cfea7535363a88 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 27 Apr 2020 09:10:15 +1000 Subject: [PATCH] coverity 1462570 Resource leak Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/11651) --- ssl/tls13_enc.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.25.1