summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_req.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-01-03 01:08:33 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-01-03 01:08:33 +0000
commitcfcf645356b0957e9ec7190e3afb3e4d6c406d5b (patch)
treecc2924b1fd4399c24493f588d78ac0e582fb550d /crypto/asn1/t_req.c
parentcdbb8c2f26574349b721b651f40f120864848059 (diff)
Make sure applications free up pkey structures and add netscape extension
handling to x509.c
Diffstat (limited to 'crypto/asn1/t_req.c')
-rw-r--r--crypto/asn1/t_req.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c
index 7df749a48f..5caee74c5e 100644
--- a/crypto/asn1/t_req.c
+++ b/crypto/asn1/t_req.c
@@ -138,6 +138,8 @@ X509_REQ *x;
#endif
BIO_printf(bp,"%12sUnknown Public Key:\n","");
+ EVP_PKEY_free(pkey);
+
/* may not be */
sprintf(str,"%8sAttributes:\n","");
if (BIO_puts(bp,str) <= 0) goto err;