msi: automation: Fix ITypeInfo leak.
This commit is contained in:
parent
c30d03f8cc
commit
ac2c1b8070
|
@ -282,6 +282,7 @@ static ULONG WINAPI AutomationObject_Release(IDispatch* iface)
|
||||||
if (!ref)
|
if (!ref)
|
||||||
{
|
{
|
||||||
if (This->funcFree) This->funcFree(This);
|
if (This->funcFree) This->funcFree(This);
|
||||||
|
ITypeInfo_Release(This->iTypeInfo);
|
||||||
MsiCloseHandle(This->msiHandle);
|
MsiCloseHandle(This->msiHandle);
|
||||||
HeapFree(GetProcessHeap(), 0, This);
|
HeapFree(GetProcessHeap(), 0, This);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue