Rob Shearman : ole32: Release the global interface table in the tests when it is no longer needed .
Module: wine Branch: master Commit: 0c51b6236c7c4f1b23f0cfe993ff950574ae5bd5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c51b6236c7c4f1b23f0cfe993... Author: Rob Shearman <rob(a)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;
participants (1)
-
Alexandre Julliard