projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a memory leak in an error path
[openssl.git]
/
crypto
/
rsa
/
rsa_mp.c
diff --git
a/crypto/rsa/rsa_mp.c
b/crypto/rsa/rsa_mp.c
index 97a09f1387774927d803c0526b116574a5a5078a..7e38179b97d4d06224e4713f11310607d04ac13a 100644
(file)
--- a/
crypto/rsa/rsa_mp.c
+++ b/
crypto/rsa/rsa_mp.c
@@
-51,6
+51,7
@@
RSA_PRIME_INFO *rsa_multip_info_new(void)
BN_free(pinfo->d);
BN_free(pinfo->t);
BN_free(pinfo->pp);
+ OPENSSL_free(pinfo);
return NULL;
}