windowscodecs: Fix leak in test_QueryCapability.
This commit is contained in:
parent
ed92450d6f
commit
0f2efcf0c5
|
@ -239,6 +239,8 @@ todo_wine
|
||||||
hr = IStream_Seek(stream, pos, SEEK_SET, NULL);
|
hr = IStream_Seek(stream, pos, SEEK_SET, NULL);
|
||||||
ok(hr == S_OK, "IStream_Seek error %#x\n", hr);
|
ok(hr == S_OK, "IStream_Seek error %#x\n", hr);
|
||||||
|
|
||||||
|
IWICBitmapDecoder_Release(decoder);
|
||||||
|
|
||||||
hr = IWICImagingFactory_CreateDecoderFromStream(factory, stream, NULL, 0, &decoder);
|
hr = IWICImagingFactory_CreateDecoderFromStream(factory, stream, NULL, 0, &decoder);
|
||||||
ok(hr == S_OK, "CreateDecoderFromStream error %#x\n", hr);
|
ok(hr == S_OK, "CreateDecoderFromStream error %#x\n", hr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue