From 0c51b6236c7c4f1b23f0cfe993ff950574ae5bd5 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Sun, 7 Jan 2007 12:15:54 +0000 Subject: [PATCH] ole32: Release the global interface table in the tests when it is no longer needed. --- dlls/ole32/tests/marshal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c index 3c8281a3dff..9a30df48e67 100644 --- a/dlls/ole32/tests/marshal.c +++ b/dlls/ole32/tests/marshal.c @@ -2136,6 +2136,9 @@ static DWORD CALLBACK get_global_interface_proc(LPVOID pv) 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;