oleaut32: Fix a memory leak in the olefont tests.

This commit is contained in:
Rob Shearman 2008-01-31 14:45:42 +00:00 committed by Alexandre Julliard
parent 05f75b9ff9
commit 2746baf8f0
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ static void test_type_info(void)
ok(hres == S_OK, "GetNames returned 0x%08x instead of S_OK.\n", hres);
ok(n == 1, "GetNames returned %d names instead of 1.\n", n);
ok(!lstrcmpiW(names[0],name_Name), "DISPID_FONT_NAME doesn't get 'Names'.\n");
SysFreeString(names[0]);
ITypeInfo_Release(pTInfo);