Vincent Povirk : windowscodecs: Fix leak in test_QueryCapability.

Alexandre Julliard julliard at winehq.org
Thu Jun 19 14:26:40 CDT 2014


Module: wine
Branch: master
Commit: 0f2efcf0c528f9c6b831e5f13d495a26a38734e9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0f2efcf0c528f9c6b831e5f13d495a26a38734e9

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Thu Jun 12 16:02:05 2014 -0500

windowscodecs: Fix leak in test_QueryCapability.

---

 dlls/windowscodecs/tests/tiffformat.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/windowscodecs/tests/tiffformat.c b/dlls/windowscodecs/tests/tiffformat.c
index aac6618..5e01562 100644
--- a/dlls/windowscodecs/tests/tiffformat.c
+++ b/dlls/windowscodecs/tests/tiffformat.c
@@ -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);
 




More information about the wine-cvs mailing list