Misha Koshelev : urlmon/tests: Release two objects that should be released but are not.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 24 07:06:28 CDT 2007


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

Author: Misha Koshelev <mk144210 at bcm.edu>
Date:   Tue Jul 24 00:16:34 2007 -0500

urlmon/tests: Release two objects that should be released but are not.

---

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

diff --git a/dlls/urlmon/tests/misc.c b/dlls/urlmon/tests/misc.c
index d93d94c..c93d6c2 100644
--- a/dlls/urlmon/tests/misc.c
+++ b/dlls/urlmon/tests/misc.c
@@ -235,6 +235,7 @@ static void test_RegisterFormatEnumerator(void)
     hres = IBindCtx_GetObjectParam(bctx, wszEnumFORMATETC, &unk);
     ok(hres == E_FAIL, "GetObjectParam failed: %08x, expected E_FAIL\n", hres);
 
+    IEnumFORMATETC_Release(format);
     IBindCtx_Release(bctx);
 }
 
@@ -766,6 +767,7 @@ static void register_protocols(void)
                                        wszAbout, 0, NULL, 0);
     IClassFactory_Release(factory);
 
+    IInternetSession_Release(session);
 }
 
 static HRESULT WINAPI InternetProtocolInfo_QueryInterface(IInternetProtocolInfo *iface,




More information about the wine-cvs mailing list