[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Sat Feb 6 14:26:17 UTC 2016
The branch master has been updated
via 69ac182d15e964801a237f826d71fd4d77b4710f (commit)
from 0d1e003f8493504945dabff4384cfafba49f5369 (commit)
- Log -----------------------------------------------------------------
commit 69ac182d15e964801a237f826d71fd4d77b4710f
Author: Insu Yun <wuninsu at gmail.com>
Date: Fri Feb 5 17:37:49 2016 -0500
GH634: fix potential memory leak
Signed-off-by: Rich Salz <rsalz at openssl.org>
Reviewed-by: Kurt Roeckx <kurt at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
apps/req.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/req.c b/apps/req.c
index eddbc77..d6d46a9 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -1451,6 +1451,7 @@ static EVP_PKEY_CTX *set_keygen_ctx(const char *gstr,
if (EVP_PKEY_keygen_init(gctx) <= 0) {
BIO_puts(bio_err, "Error initializing keygen context\n");
ERR_print_errors(bio_err);
+ EVP_PKEY_CTX_free(gctx);
return NULL;
}
#ifndef OPENSSL_NO_RSA
More information about the openssl-commits
mailing list