Rob Shearman : ole32: Add a missing IStream_Release to test_same_apartment_unmarshal_failure.

Alexandre Julliard julliard at winehq.org
Mon Nov 12 06:26:58 CST 2007


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Sat Nov 10 16:04:30 2007 +0000

ole32: Add a missing IStream_Release to test_same_apartment_unmarshal_failure.

---

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

diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c
index d15b879..56c213e 100644
--- a/dlls/ole32/tests/marshal.c
+++ b/dlls/ole32/tests/marshal.c
@@ -434,6 +434,8 @@ static void test_same_apartment_unmarshal_failure(void)
     ok(hr == E_NOINTERFACE, "CoUnmarshalInterface should have returned E_NOINTERFACE instead of 0x%08x\n", hr);
 
     ok_no_locks();
+
+    IStream_Release(pStream);
 }
 
 /* tests success case of an interthread marshal */




More information about the wine-cvs mailing list