diff options
Diffstat (limited to 'demos/smime/smsign.c')
-rw-r--r-- | demos/smime/smsign.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/demos/smime/smsign.c b/demos/smime/smsign.c index c7bf86d370..6b9dfdd771 100644 --- a/demos/smime/smsign.c +++ b/demos/smime/smsign.c @@ -76,12 +76,9 @@ int main(int argc, char **argv) if (skey) EVP_PKEY_free(skey); - 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; |