diff options
Diffstat (limited to 'demos/cms/cms_enc.c')
-rw-r--r-- | demos/cms/cms_enc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/demos/cms/cms_enc.c b/demos/cms/cms_enc.c index e8ecb48e27..4395e6b04f 100644 --- a/demos/cms/cms_enc.c +++ b/demos/cms/cms_enc.c @@ -80,12 +80,9 @@ int main(int argc, char **argv) if (recips) sk_X509_pop_free(recips, X509_free); - if (in) - BIO_free(in); - if (out) - BIO_free(out); - if (tbio) - BIO_free(tbio); + BIO_free(in); + BIO_free(out); + BIO_free(tbio); return ret; |