From ea904b40741c8b8b4b6ce6a74bfcbccafb6e2945 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 5 Aug 2009 15:04:16 +0000 Subject: [PATCH] Update from HEAD. --- crypto/rsa/rsa_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c index 6b1b029d7..e334e506f 100644 --- a/crypto/rsa/rsa_lib.c +++ b/crypto/rsa/rsa_lib.c @@ -422,6 +422,8 @@ err: BN_CTX_end(ctx); if (in_ctx == NULL) BN_CTX_free(ctx); + if(rsa->e == NULL) + BN_free(e); return ret; }