projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e31e63
)
Fix memory leak.
author
Ben Laurie
<ben@openssl.org>
Fri, 25 Nov 2005 14:26:12 +0000
(14:26 +0000)
committer
Ben Laurie
<ben@openssl.org>
Fri, 25 Nov 2005 14:26:12 +0000
(14:26 +0000)
crypto/rsa/rsa_lib.c
patch
|
blob
|
history
diff --git
a/crypto/rsa/rsa_lib.c
b/crypto/rsa/rsa_lib.c
index 533a711eda2b8ca092af80cbfcb99f4518db4f4b..66cd15ff6d90f3575255275ff866e9902782424b 100644
(file)
--- a/
crypto/rsa/rsa_lib.c
+++ b/
crypto/rsa/rsa_lib.c
@@
-412,6
+412,8
@@
err:
BN_CTX_end(ctx);
if (in_ctx == NULL)
BN_CTX_free(ctx);
+ if(rsa->e == NULL)
+ BN_free(e);
return ret;
}