mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 23:33:38 +00:00
quartz/tests: Fix some media type leaks (Valgrind).
This commit is contained in:
parent
c5ca3b0011
commit
35cff9ec6e
|
@ -1525,6 +1525,8 @@ static void test_connect_pin(void)
|
|||
ok(testsource.source.pin.peer == sink, "Got peer %p.\n", testsource.source.pin.peer);
|
||||
IFilterGraph2_Disconnect(graph, &testsource.source.pin.IPin_iface);
|
||||
|
||||
FreeMediaType(&source_mt);
|
||||
FreeMediaType(&req_mt);
|
||||
IMemInputPin_Release(meminput);
|
||||
IPin_Release(sink);
|
||||
IPin_Release(source);
|
||||
|
|
|
@ -1233,6 +1233,7 @@ static void test_connect_pin(void)
|
|||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
ok(compare_media_types(&mt, &req_mt), "Media types didn't match.\n");
|
||||
ok(compare_media_types(&testsource.source.pin.mt, &req_mt), "Media types didn't match.\n");
|
||||
FreeMediaType(&mt);
|
||||
|
||||
hr = IMediaControl_Pause(control);
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
|
@ -1281,6 +1282,7 @@ static void test_connect_pin(void)
|
|||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
ok(compare_media_types(&mt, &req_mt), "Media types didn't match.\n");
|
||||
ok(compare_media_types(&testsink.sink.pin.mt, &req_mt), "Media types didn't match.\n");
|
||||
FreeMediaType(&mt);
|
||||
|
||||
hr = IMediaControl_Pause(control);
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
|
|
Loading…
Reference in a new issue