From ca3a82c3b364e1e584546f0f3bbb938b0b472580 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 25 Mar 2015 11:31:18 -0400 Subject: free NULL cleanup This commit handles BIO_ACCEPT_free BIO_CB_FREE BIO_CONNECT_free BIO_free BIO_free_all BIO_vfree Reviewed-by: Matt Caswell --- apps/rand.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/rand.c') diff --git a/apps/rand.c b/apps/rand.c index e159da37be..45f16b9094 100644 --- a/apps/rand.c +++ b/apps/rand.c @@ -222,8 +222,7 @@ int MAIN(int argc, char **argv) err: ERR_print_errors(bio_err); - if (out) - BIO_free_all(out); + BIO_free_all(out); apps_shutdown(); OPENSSL_EXIT(ret); } -- cgit v1.2.3