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 346ffd2..de3122b 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);