oleaut32: Fix a reference count leak in the typelib test.
This commit is contained in:
parent
a26af4861d
commit
2b65782d1e
|
@ -114,6 +114,7 @@ static void test_TypeComp(void)
|
||||||
"desckind should have been DESCKIND_TYPECOMP instead of %d\n",
|
"desckind should have been DESCKIND_TYPECOMP instead of %d\n",
|
||||||
desckind);
|
desckind);
|
||||||
ok(!pTypeInfo, "pTypeInfo should have been set to NULL\n");
|
ok(!pTypeInfo, "pTypeInfo should have been set to NULL\n");
|
||||||
|
ITypeComp_Release(bindptr.lptcomp);
|
||||||
|
|
||||||
/* test getting a function within a TKIND_MODULE */
|
/* test getting a function within a TKIND_MODULE */
|
||||||
ulHash = LHashValOfNameSys(SYS_WIN32, LOCALE_NEUTRAL, wszSavePicture);
|
ulHash = LHashValOfNameSys(SYS_WIN32, LOCALE_NEUTRAL, wszSavePicture);
|
||||||
|
|
Loading…
Reference in New Issue