[MMDEVAPI_WINETEST] Sync with Wine 3.0. CORE-14225

This commit is contained in:
Amine Khaldi 2018-01-20 12:26:57 +01:00
parent a3eb2d3811
commit ae5f2352bc
2 changed files with 6 additions and 11 deletions

View file

@ -556,8 +556,7 @@ static void test_audioclient(void)
if (hr != S_OK)
{
skip("Cannot initialize %08x, remainder of tests is useless\n", hr);
CoTaskMemFree(pwfx);
return;
goto cleanup;
}
hr = IAudioClient_GetStreamLatency(ac, NULL);
@ -592,6 +591,7 @@ static void test_audioclient(void)
test_capture(ac, handle, pwfx);
cleanup:
IAudioClient_Release(ac);
CloseHandle(handle);
CoTaskMemFree(pwfx);