oleaut32: Fix a reference count leak in the typelib test.

This commit is contained in:
Rob Shearman 2006-10-24 13:01:23 +01:00 committed by Alexandre Julliard
parent a26af4861d
commit 2b65782d1e
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ static void test_TypeComp(void)
"desckind should have been DESCKIND_TYPECOMP instead of %d\n",
desckind);
ok(!pTypeInfo, "pTypeInfo should have been set to NULL\n");
ITypeComp_Release(bindptr.lptcomp);
/* test getting a function within a TKIND_MODULE */
ulHash = LHashValOfNameSys(SYS_WIN32, LOCALE_NEUTRAL, wszSavePicture);