projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure applications free up pkey structures and add netscape extension
[openssl.git]
/
crypto
/
asn1
/
t_x509.c
diff --git
a/crypto/asn1/t_x509.c
b/crypto/asn1/t_x509.c
index 9a8c8bf0ca7354c35d1c717226dfd2c038c964b5..4bf1bd4536a37c6a0b2a67daaeebf8f36d3be82a 100644
(file)
--- a/
crypto/asn1/t_x509.c
+++ b/
crypto/asn1/t_x509.c
@@
-182,6
+182,8
@@
X509 *x;
#endif
BIO_printf(bp,"%12sUnknown Public Key:\n","");
+ EVP_PKEY_free(pkey);
+
n=X509_get_ext_count(x);
if (n > 0)
{