Skip to content

Commit

Permalink
#71 Unref i_stream
Browse files Browse the repository at this point in the history
  • Loading branch information
pburow committed Sep 12, 2017
1 parent a88c9fb commit 5c8f474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/tests/storage-mock-rbox/storage_mock_rbox_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ TEST_F(StorageTest, mail_save_to_inbox_storage_mock_no_rados_available) {
EXPECT_TRUE(input->eof);
EXPECT_GE(ret, -1);
}
i_stream_unref(&input);
mailbox_free(&box);
}

Expand Down
1 change: 1 addition & 0 deletions src/tests/storage-rbox/storage_rbox_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ TEST_F(StorageTest, mail_save_to_inbox) {
EXPECT_TRUE(input->eof);
EXPECT_GE(ret, 0);
}
i_stream_unref(&input);
mailbox_free(&box);
}

Expand Down

0 comments on commit 5c8f474

Please sign in to comment.