PR: 1613
authorDr. Stephen Henson <steve@openssl.org>
Fri, 3 Apr 2009 16:21:01 +0000 (16:21 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 3 Apr 2009 16:21:01 +0000 (16:21 +0000)
Submitted by: "Jean Rebiffe" <jrebiffe@gmail.com>
Approved by: steve@openssl.org

Free section.

crypto/x509v3/v3_alt.c

index 19b3a8b628e68849f7e30cc1702501cc6e31d780..b13c5674a1345c76196cd07e5a981c6d2641e1d1 100644 (file)
@@ -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;
        }