From: Stephan Bosch Date: Fri, 2 Feb 2018 17:37:23 +0000 (+0100) Subject: lib-program-client: test-program-client-local: Properly deallocate all streams for... X-Git-Tag: 2.3.9~2328 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d117b74f3837c1dbca131ce7ebc3afbca254ba96;p=thirdparty%2Fdovecot%2Fcore.git lib-program-client: test-program-client-local: Properly deallocate all streams for big I/O test. --- diff --git a/src/lib-program-client/test-program-client-local.c b/src/lib-program-client/test-program-client-local.c index a2ae06c8df..2ea008d3e5 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);