fusion: Fix a memory leak in the tests.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-12 12:18:37 +00:00 committed by Alexandre Julliard
parent 01c26d1416
commit 998d9d9a8f
1 changed files with 1 additions and 0 deletions

View File

@ -787,6 +787,7 @@ static void test_CreateAssemblyNameObject(void)
"Expected FUSION_E_INVALID_NAME, got %08x\n", hr);
ok(name == (IAssemblyName *)0xdeadbeef, "Expected 0xdeadbeef, got %p\n", name);
}
if(SUCCEEDED(hr)) IAssemblyName_Release(name);
/* no '=' */
to_widechar(namestr, "wine, PublicKeyToken");