summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-04-08 15:58:26 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-04-08 15:58:26 +0000
commit18df6b30b12e2500ade868461429b7b918d14670 (patch)
treec3eee3f0b28173ef9e7cb97917998545373f8020 /crypto
parent0d399f97dd227989c657ad080e9ad829f113ce2a (diff)
Fix from 1.0.0-stable.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x509v3/v3_alt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c
index b7f9100970..69244e4976 100644
--- a/crypto/x509v3/v3_alt.c
+++ b/crypto/x509v3/v3_alt.c
@@ -360,6 +360,7 @@ static int copy_email(X509V3_CTX *ctx, GENERAL_NAMES *gens, int move_p)
if (move_p)
{
X509_NAME_delete_entry(nm, i);
+ X509_NAME_ENTRY_free(ne);
i--;
}
if(!email || !(gen = GENERAL_NAME_new())) {