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/ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/ts.c') diff --git a/apps/ts.c b/apps/ts.c index fb77d6a594..4c32ada410 100644 --- a/apps/ts.c +++ b/apps/ts.c @@ -162,8 +162,8 @@ int MAIN(int argc, char **argv) apps_startup(); if (bio_err == NULL && (bio_err = BIO_new(BIO_s_file())) != NULL) { - free_bio_err = 1; BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT); + free_bio_err = 1; } if (!load_config(bio_err, NULL)) -- cgit v1.2.3