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