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

This commit is contained in:
Zebediah Figura 2023-07-22 21:07:11 -05:00 committed by Alexandre Julliard
parent 97d7d32191
commit 70dc4a6a1d

View file

@ -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)