From: Dr. Stephen Henson Date: Fri, 3 Apr 2009 16:21:01 +0000 (+0000) Subject: PR: 1613 X-Git-Tag: OpenSSL_1_0_0-beta2~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d769e7a58cb1eea7ac6194864aaa7c74072585ff;p=oweals%2Fopenssl.git PR: 1613 Submitted by: "Jean Rebiffe" Approved by: steve@openssl.org Free section. --- diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c index 19b3a8b628..b13c5674a1 100644 --- a/crypto/x509v3/v3_alt.c +++ b/crypto/x509v3/v3_alt.c @@ -605,6 +605,7 @@ static int do_dirname(GENERAL_NAME *gen, char *value, X509V3_CTX *ctx) if (!ret) X509_NAME_free(nm); gen->d.dirn = nm; + X509V3_section_free(ctx, sk); return ret; }