free up sigopts STACK
authorDr. Stephen Henson <steve@openssl.org>
Sun, 14 Mar 2010 13:09:00 +0000 (13:09 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 14 Mar 2010 13:09:00 +0000 (13:09 +0000)
apps/ca.c

index 346ffd264c6bdcd68a0f94b616e7f7b0140ef798..de3122b7ec2e2e9604f5e6a1b0721a1c92a30a96 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1554,6 +1554,8 @@ err:
        BN_free(serial);
        BN_free(crlnumber);
        free_index(db);
+       if (sigopts)
+               sk_OPENSSL_STRING_free(sigopts);
        EVP_PKEY_free(pkey);
        if (x509) X509_free(x509);
        X509_CRL_free(crl);