From: Matt Caswell Date: Fri, 23 Jun 2017 17:18:21 +0000 (+0100) Subject: Fix a memory leak in the new TAP filter BIO X-Git-Tag: OpenSSL_1_1_1-pre1~1211 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1e55873f258400beb785fe2c09a5d1532e76f6fa;p=oweals%2Fopenssl.git Fix a memory leak in the new TAP filter BIO [extended tests] Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3760) --- diff --git a/test/testutil/basic_output.c b/test/testutil/basic_output.c index b69c59f775..6a06b36728 100644 --- a/test/testutil/basic_output.c +++ b/test/testutil/basic_output.c @@ -30,7 +30,7 @@ void test_open_streams(void) void test_close_streams(void) { BIO_free(bio_out); - BIO_free(bio_err); + BIO_free_all(bio_err); } int test_vprintf_stdout(const char *fmt, va_list ap)