Skip to content

Commit

Permalink
lib: Fixed memory leak in ostream-file unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed May 18, 2016
1 parent 1904e2f commit cd07d97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/test-ostream-file.c
Expand Up @@ -163,6 +163,7 @@ static void test_ostream_file_send_istream_sendfile(void)
test_assert(read(sock_fd[1], buf, sizeof(buf)) == 4 &&
memcmp(buf, "defg", 4) == 0);
i_stream_unref(&input2);
i_stream_unref(&input);

o_stream_destroy(&output);
i_close_fd(&sock_fd[1]);
Expand Down

0 comments on commit cd07d97

Please sign in to comment.