Commit 622a84c6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfplat/tests: Add some return value checks (Coverity).

parent 88924d6a
......@@ -308,7 +308,8 @@ static void test_source_resolver(void)
IMFSourceResolver_Release(resolver);
MFShutdown();
hr = MFShutdown();
ok(hr == S_OK, "Failed to shut down, hr %#x.\n", hr);
DeleteFileW(filename);
}
......@@ -1787,7 +1788,7 @@ static void test_allocate_queue(void)
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
hr = MFShutdown();
ok(hr == S_OK, "Failed to shutdown, hr %#x.\n", hr);
ok(hr == S_OK, "Failed to shut down, hr %#x.\n", hr);
}
static void test_MFCopyImage(void)
......@@ -2074,7 +2075,8 @@ static void test_periodic_callback(void)
if (!pMFAddPeriodicCallback)
{
win_skip("Periodic callbacks are not supported.\n");
MFShutdown();
hr = MFShutdown();
ok(hr == S_OK, "Failed to shut down, hr %#x.\n", hr);
return;
}
......
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