Fix a memory leak in the new TAP filter BIO
authorMatt Caswell <matt@openssl.org>
Fri, 23 Jun 2017 17:18:21 +0000 (18:18 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 23 Jun 2017 19:30:27 +0000 (20:30 +0100)
[extended tests]

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3760)

test/testutil/basic_output.c

index b69c59f7759fa69d50bbd2f3cb33a26f82586d7d..6a06b367280ae66fb6307f66f5c741a23bae5417 100644 (file)
@@ -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)