diff options
Diffstat (limited to 'demos/bio/saccept.c')
-rw-r--r-- | demos/bio/saccept.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/demos/bio/saccept.c b/demos/bio/saccept.c index 8c75029384..505d98b68f 100644 --- a/demos/bio/saccept.c +++ b/demos/bio/saccept.c @@ -22,8 +22,7 @@ BIO *in = NULL; void close_up() { - if (in != NULL) - BIO_free(in); + BIO_free(in); } int main(int argc, char *argv[]) @@ -101,8 +100,7 @@ int main(int argc, char *argv[]) if (ret) { ERR_print_errors_fp(stderr); } - if (in != NULL) - BIO_free(in); + BIO_free(in); exit(ret); return (!ret); } |