msi: automation: Fix ITypeInfo leak.

oldstable
Misha Koshelev 2007-11-18 23:37:05 -06:00 committed by Alexandre Julliard
parent c30d03f8cc
commit ac2c1b8070
1 changed files with 1 additions and 0 deletions

View File

@ -282,6 +282,7 @@ static ULONG WINAPI AutomationObject_Release(IDispatch* iface)
if (!ref)
{
if (This->funcFree) This->funcFree(This);
ITypeInfo_Release(This->iTypeInfo);
MsiCloseHandle(This->msiHandle);
HeapFree(GetProcessHeap(), 0, This);
}