mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +00:00
amstream/tests: Fix a leak in test_ddrawstream_begin_flush_end_flush().
This commit is contained in:
parent
97d7d32191
commit
70dc4a6a1d
|
@ -5991,6 +5991,9 @@ static void test_ddrawstream_begin_flush_end_flush(void)
|
||||||
IDirectDrawMediaStream_Release(ddraw_stream);
|
IDirectDrawMediaStream_Release(ddraw_stream);
|
||||||
ref = IMediaStream_Release(stream);
|
ref = IMediaStream_Release(stream);
|
||||||
ok(!ref, "Got outstanding refcount %ld.\n", ref);
|
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)
|
static void test_ddrawstream_new_segment(void)
|
||||||
|
|
Loading…
Reference in a new issue