]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-program-client: test-program-client-local: Properly deallocate all streams for...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 2 Feb 2018 17:37:23 +0000 (18:37 +0100)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 12 Feb 2018 14:24:53 +0000 (16:24 +0200)
src/lib-program-client/test-program-client-local.c

index a2ae06c8df1478346fe0e82f428ada7cb5c07333..2ea008d3e56e1695865191122caabfac3d5a1bbc 100644 (file)
@@ -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);