Module: wine Branch: master Commit: 2b65782d1e110c5dd072c0bdeb24555dc7665a1e URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b65782d1e110c5dd072c0bdeb... Author: Rob Shearman <rob(a)codeweavers.com> Date: Tue Oct 24 13:01:23 2006 +0100 oleaut32: Fix a reference count leak in the typelib test. --- dlls/oleaut32/tests/typelib.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c index ccc5b26..75aaca9 100644 --- a/dlls/oleaut32/tests/typelib.c +++ b/dlls/oleaut32/tests/typelib.c @@ -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);