Commit cbf155af authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

windowscodecs/tests: Use proper helpers for iface calls.

parent 9bb70e27
...@@ -939,7 +939,7 @@ static void test_metadata_png(void) ...@@ -939,7 +939,7 @@ static void test_metadata_png(void)
IWICBitmapDecoder_Release(decoder); IWICBitmapDecoder_Release(decoder);
IWICStream_Release(stream); IStream_Release(stream);
} }
START_TEST(metadata) START_TEST(metadata)
......
...@@ -379,7 +379,7 @@ static void test_StreamOnMemory(void) ...@@ -379,7 +379,7 @@ static void test_StreamOnMemory(void)
IWICStream_Release(pStream); IWICStream_Release(pStream);
IWICStream_Release(pFactory); IWICImagingFactory_Release(pFactory);
CoUninitialize(); CoUninitialize();
} }
...@@ -641,7 +641,7 @@ static void test_StreamOnStreamRange(void) ...@@ -641,7 +641,7 @@ static void test_StreamOnStreamRange(void)
hr = IWICStream_CopyTo(pSubStream, CopyStream, uNewPos, NULL, NULL); hr = IWICStream_CopyTo(pSubStream, CopyStream, uNewPos, NULL, NULL);
ok(hr == E_NOTIMPL, "CopyTo returned %#x, expected %#x\n", hr, E_NOTIMPL); ok(hr == E_NOTIMPL, "CopyTo returned %#x, expected %#x\n", hr, E_NOTIMPL);
IWICStream_Release(CopyStream); IStream_Release(CopyStream);
/* Commit */ /* Commit */
...@@ -733,7 +733,7 @@ static void test_StreamOnStreamRange(void) ...@@ -733,7 +733,7 @@ static void test_StreamOnStreamRange(void)
IWICStream_Release(pSubStream); IWICStream_Release(pSubStream);
IWICStream_Release(pStream); IWICStream_Release(pStream);
IWICStream_Release(pFactory); IWICImagingFactory_Release(pFactory);
CoUninitialize(); CoUninitialize();
} }
......
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