From 0c6d4379bfa9082c3746c31192475ff514bb8069 Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Fri, 2 Feb 2018 18:37:23 +0100 Subject: [PATCH] lib-program-client: test-program-client-local: Properly deallocate all streams for big I/O test. --- src/lib-program-client/test-program-client-local.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib-program-client/test-program-client-local.c b/src/lib-program-client/test-program-client-local.c index 5f2dcd2c3a..2e6fa21473 100644 --- a/src/lib-program-client/test-program-client-local.c +++ b/src/lib-program-client/test-program-client-local.c @@ -198,6 +198,10 @@ void test_program_io_big(void) { is3, is3, is3, is3, is3, NULL}; struct istream *is = i_stream_create_concat(in3); + i_stream_unref(&is1); + i_stream_unref(&is2); + i_stream_unref(&is3); + program_client_set_input(pc, is); buffer_t *output = buffer_create_dynamic(default_pool, 16); -- 2.47.3