free NULL cleanup 9
[openssl.git] / apps / crl2p7.c
index ab0c3d6d287f548aa6741ea420e7bb70b07638ba..86b3a947606552b36a74524cc6065498bb05c8c6 100644 (file)
@@ -270,8 +270,7 @@ int MAIN(int argc, char **argv)
  end:
     BIO_free(in);
     BIO_free_all(out);
-    if (p7 != NULL)
-        PKCS7_free(p7);
+    PKCS7_free(p7);
     if (crl != NULL)
         X509_CRL_free(crl);