diff options
Diffstat (limited to 'apps/pkcs7.c')
-rw-r--r-- | apps/pkcs7.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/pkcs7.c b/apps/pkcs7.c index 643507f216..1b07c022a4 100644 --- a/apps/pkcs7.c +++ b/apps/pkcs7.c @@ -299,10 +299,8 @@ int MAIN(int argc, char **argv) end: if (p7 != NULL) PKCS7_free(p7); - if (in != NULL) - BIO_free(in); - if (out != NULL) - BIO_free_all(out); + BIO_free(in); + BIO_free_all(out); apps_shutdown(); OPENSSL_EXIT(ret); } |