Commit 70dc4a6a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

amstream/tests: Fix a leak in test_ddrawstream_begin_flush_end_flush().

parent 97d7d321
......@@ -5991,6 +5991,9 @@ static void test_ddrawstream_begin_flush_end_flush(void)
IDirectDrawMediaStream_Release(ddraw_stream);
ref = IMediaStream_Release(stream);
ok(!ref, "Got outstanding refcount %ld.\n", ref);
IPin_Release(pin2);
ref = IAMMediaStream_Release(stream2);
ok(!ref, "Got outstanding refcount %ld.\n", ref);
}
static void test_ddrawstream_new_segment(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment