test_assert(o_stream_nfinish(os_2) == 0);
test_assert(os_2->stream_errno == 0);
+ o_stream_unref(&os);
o_stream_unref(&os_2);
struct istream *is = test_istream_create_data(buf->data, buf->used);
test_assert(o_stream_nfinish(os_2) == 0);
test_assert(os_2->stream_errno == 0);
+ o_stream_unref(&os);
o_stream_unref(&os_2);
struct istream *is = test_istream_create_data(buf->data, buf->used);
if (os_2->stream_errno != 0)
i_debug("error: %s", o_stream_get_error(os_2));
+ o_stream_unref(&os);
o_stream_unref(&os_2);
/* this should've been enough */
if (os_2->stream_errno != 0)
i_debug("error: %s", o_stream_get_error(os_2));
+ o_stream_unref(&os);
o_stream_unref(&os_2);
struct istream *is = test_istream_create_data(buf->data, buf->used);
if (os_2->stream_errno != 0)
i_debug("error: %s", o_stream_get_error(os_2));
+ o_stream_unref(&os);
o_stream_unref(&os_2);
struct istream *is = test_istream_create_data(buf->data, buf->used);
if (os_2->stream_errno != 0)
i_debug("error: %s", o_stream_get_error(os_2));
+ o_stream_unref(&os);
o_stream_unref(&os_2);
/* this should've been enough */