aboutsummaryrefslogtreecommitdiffstats
path: root/apps/crl2p7.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/crl2p7.c')
-rw-r--r--apps/crl2p7.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/crl2p7.c b/apps/crl2p7.c
index ab0c3d6d28..86b3a94760 100644
--- a/apps/crl2p7.c
+++ b/apps/crl2p7.c
@@ -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);