From: Dr. Stephen Henson Date: Wed, 8 Apr 2009 15:58:26 +0000 (+0000) Subject: Fix from 1.0.0-stable. X-Git-Tag: OpenSSL_0_9_8m-beta1~246 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18df6b30b12e2500ade868461429b7b918d14670;p=oweals%2Fopenssl.git Fix from 1.0.0-stable. --- 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())) {