Vincent Povirk : windowscodecs: Fix a memory leak in a test.

Alexandre Julliard julliard at winehq.org
Mon Dec 14 09:51:17 CST 2009


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Sun Dec 13 19:20:58 2009 -0600

windowscodecs: Fix a memory leak in a test.

---

 dlls/windowscodecs/tests/converter.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/windowscodecs/tests/converter.c b/dlls/windowscodecs/tests/converter.c
index 3f82369..5c66636 100644
--- a/dlls/windowscodecs/tests/converter.c
+++ b/dlls/windowscodecs/tests/converter.c
@@ -413,6 +413,8 @@ static void test_encoder(const struct bitmap_data *src, const CLSID* clsid_encod
 
             IStream_Release(stream);
         }
+
+        IWICBitmapEncoder_Release(encoder);
     }
 
     DeleteTestBitmap(src_bitmap);




More information about the wine-cvs mailing list