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

This commit is contained in:
Rob Shearman 2007-01-07 12:15:54 +00:00 committed by Alexandre Julliard
parent 6819fa520f
commit 0c51b6236c
1 changed files with 3 additions and 0 deletions

View File

@ -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;