summaryrefslogtreecommitdiffstats
path: root/apps/errstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/errstr.c')
-rw-r--r--apps/errstr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/errstr.c b/apps/errstr.c
index c2d4fdec35..668c5f3024 100644
--- a/apps/errstr.c
+++ b/apps/errstr.c
@@ -100,8 +100,7 @@ int MAIN(int argc, char **argv)
lh_ERR_STRING_DATA_node_usage_stats_bio(ERR_get_string_table(),
out);
}
- if (out != NULL)
- BIO_free_all(out);
+ BIO_free_all(out);
argc--;
argv++;
}