windowscodecs/tests: Use proper helpers for iface calls.

This commit is contained in:
Jacek Caban 2012-08-28 11:10:35 +02:00 committed by Alexandre Julliard
parent 9bb70e2739
commit cbf155afe1
2 changed files with 4 additions and 4 deletions

View File

@ -939,7 +939,7 @@ static void test_metadata_png(void)
IWICBitmapDecoder_Release(decoder);
IWICStream_Release(stream);
IStream_Release(stream);
}
START_TEST(metadata)

View File

@ -379,7 +379,7 @@ static void test_StreamOnMemory(void)
IWICStream_Release(pStream);
IWICStream_Release(pFactory);
IWICImagingFactory_Release(pFactory);
CoUninitialize();
}
@ -641,7 +641,7 @@ static void test_StreamOnStreamRange(void)
hr = IWICStream_CopyTo(pSubStream, CopyStream, uNewPos, NULL, NULL);
ok(hr == E_NOTIMPL, "CopyTo returned %#x, expected %#x\n", hr, E_NOTIMPL);
IWICStream_Release(CopyStream);
IStream_Release(CopyStream);
/* Commit */
@ -733,7 +733,7 @@ static void test_StreamOnStreamRange(void)
IWICStream_Release(pSubStream);
IWICStream_Release(pStream);
IWICStream_Release(pFactory);
IWICImagingFactory_Release(pFactory);
CoUninitialize();
}