Skip to content

Commit

Permalink
lib-program-client: test-program-client-local: Properly deallocate al…
Browse files Browse the repository at this point in the history
…l streams for big I/O test.
  • Loading branch information
stephanbosch authored and sirainen committed Feb 12, 2018
1 parent 2c875b7 commit d117b74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib-program-client/test-program-client-local.c
Expand Up @@ -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);
Expand Down

0 comments on commit d117b74

Please sign in to comment.