windowscodecs: Fix leak in test_QueryCapability.

This commit is contained in:
Vincent Povirk 2014-06-12 16:02:05 -05:00 committed by Alexandre Julliard
parent ed92450d6f
commit 0f2efcf0c5
1 changed files with 2 additions and 0 deletions

View File

@ -239,6 +239,8 @@ todo_wine
hr = IStream_Seek(stream, pos, SEEK_SET, NULL);
ok(hr == S_OK, "IStream_Seek error %#x\n", hr);
IWICBitmapDecoder_Release(decoder);
hr = IWICImagingFactory_CreateDecoderFromStream(factory, stream, NULL, 0, &decoder);
ok(hr == S_OK, "CreateDecoderFromStream error %#x\n", hr);