fusion: Uninstall assembly used to check for presence of .NET runtime.

This commit is contained in:
Hans Leidekker 2009-02-19 14:03:43 +01:00 committed by Alexandre Julliard
parent fdfeb33f37
commit a76c15356b
1 changed files with 2 additions and 0 deletions

View File

@ -840,6 +840,7 @@ static BOOL check_dotnet20(void)
IAssemblyCache *cache;
HRESULT hr;
BOOL ret = FALSE;
ULONG disp;
static const WCHAR winedll[] = {'w','i','n','e','.','d','l','l',0};
@ -859,6 +860,7 @@ static BOOL check_dotnet20(void)
ok(0, "Expected S_OK, got %08x\n", hr);
DeleteFileA("wine.dll");
IAssemblyCache_UninstallAssembly(cache, 0, winedll, NULL, &disp);
IAssemblyCache_Release(cache);
return ret;
}