From cfcf645356b0957e9ec7190e3afb3e4d6c406d5b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 3 Jan 1999 01:08:33 +0000 Subject: Make sure applications free up pkey structures and add netscape extension handling to x509.c --- crypto/asn1/t_x509.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/asn1/t_x509.c') diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c index 9a8c8bf0ca..4bf1bd4536 100644 --- 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) { -- cgit v1.2.3