free NULL cleanup 9
[openssl.git] / apps / pkcs7.c
index 1b07c022a4fee310d394a1e9d21d3dd353f1486d..4fcb089b2b490a72e08404771130c94825f06dba 100644 (file)
@@ -297,8 +297,7 @@ int MAIN(int argc, char **argv)
     }
     ret = 0;
  end:
-    if (p7 != NULL)
-        PKCS7_free(p7);
+    PKCS7_free(p7);
     BIO_free(in);
     BIO_free_all(out);
     apps_shutdown();