diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-08-05 14:55:20 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-08-05 14:55:20 +0000 |
commit | d76b8c89ec218b3ce6c83e27220d2df4d0213599 (patch) | |
tree | 80453259390ef3f094ab45b634c489d71ce28eaa | |
parent | 512d359e266516e15c6b4d41329f7de6c0d76066 (diff) |
PR: 2001
Submitted by: Tomas Mraz <tmraz@redhat.com>
Approved by: steve@openssl.org
Add patch: http://cvs.openssl.org/chngview?cn=14635 which never made it to
1.0.0, HEAD.
-rw-r--r-- | crypto/rsa/rsa_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c index 6b1b029d7e..e334e506fb 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; } |