summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-04-03 16:28:20 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-04-03 16:28:20 +0000
commit0a629ddbd6cdb292225c9fa3db2db8920228a84f (patch)
tree3c2005b17b6f388ad8588173e045c80cbfd26ddf /crypto/x509v3
parent353cb367e4f27779a3bd331d9c0a57014a67eff4 (diff)
Update from 1.0.0-stable
Diffstat (limited to 'crypto/x509v3')
-rw-r--r--crypto/x509v3/v3_alt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c
index 58b2952478..49f899fa5a 100644
--- a/crypto/x509v3/v3_alt.c
+++ b/crypto/x509v3/v3_alt.c
@@ -577,6 +577,8 @@ static int do_dirname(GENERAL_NAME *gen, char *value, X509V3_CTX *ctx)
if (!ret)
X509_NAME_free(nm);
gen->d.dirn = nm;
+
+ X509V3_free_section(ctx, sk);
return ret;
}