summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-08-05 15:04:16 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-08-05 15:04:16 +0000
commitea904b40741c8b8b4b6ce6a74bfcbccafb6e2945 (patch)
tree1caa7afee6eb124c5e999ec9dd9ae6e23d7f660b /crypto/rsa
parentec6158d02979afead429e110cad9c9d84af61a67 (diff)
Update from HEAD.
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa_lib.c2
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;
}