Robert Shearman : oleaut32: Fix a leak of the module reference count.
Module: wine Branch: master Commit: b7e88d8f8b378974760a2516b9acd50782892afa URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=b7e88d8f8b378974760a2516... Author: Robert Shearman <rob(a)codeweavers.com> Date: Tue Aug 29 21:11:12 2006 +0100 oleaut32: Fix a leak of the module reference count. --- dlls/oleaut32/typelib.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index b680fac..07da88f 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -2210,6 +2210,7 @@ static int TLB_ReadTypeLib(LPCWSTR pszFi *ppTypeLib = (ITypeLib2*)entry; ITypeLib_AddRef(*ppTypeLib); LeaveCriticalSection(&cache_section); + FreeLibrary(hinstDLL); return S_OK; } }
participants (1)
-
Alexandre Julliard