Extend mkcert.sh to support nameConstraints generation and more complex
[openssl.git] / apps / crl2p7.c
index 1631258793ec96ae5d653be3b6ebb7bfa7f3c26d..9c5f79f9f37988d0db709eda6eeaf82d44a1044a 100644 (file)
@@ -84,10 +84,8 @@ int crl2pkcs7_main(int argc, char **argv)
             if ((certflst == NULL)
                 && (certflst = sk_OPENSSL_STRING_new_null()) == NULL)
                 goto end;
-            if (!sk_OPENSSL_STRING_push(certflst, opt_arg())) {
-                sk_OPENSSL_STRING_free(certflst);
+            if (!sk_OPENSSL_STRING_push(certflst, opt_arg()))
                 goto end;
-            }
             break;
         }
     }