Rob Shearman : ole32: Release the global interface table in the tests when it is no longer needed .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 8 06:35:37 CST 2007


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Sun Jan  7 12:15:54 2007 +0000

ole32: Release the global interface table in the tests when it is no longer needed.

---

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

diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c
index 3c8281a..9a30df4 100644
--- a/dlls/ole32/tests/marshal.c
+++ b/dlls/ole32/tests/marshal.c
@@ -2136,6 +2136,9 @@ static DWORD CALLBACK get_global_interfa
 	CoInitialize(NULL);
 	hr = IGlobalInterfaceTable_GetInterfaceFromGlobal(params->git, params->cookie, &IID_IClassFactory, (void **)&cf);
 	ok_ole_success(hr, IGlobalInterfaceTable_GetInterfaceFromGlobal);
+
+	IGlobalInterfaceTable_Release(params->git);
+
 	CoUninitialize();
 
 	return hr;




More information about the wine-cvs mailing list