oleaut32: Free the correct custom data inside ITypeInfo_fnRelease.
Since the code is inside the loop for function data, it should be freeing the function's custom data, not the interface's.
This commit is contained in:
parent
942a70dc64
commit
aaa6c4007f
|
@ -4514,7 +4514,7 @@ static ULONG WINAPI ITypeInfo_fnRelease(ITypeInfo2 *iface)
|
|||
}
|
||||
TLB_Free(pFInfo->funcdesc.lprgelemdescParam);
|
||||
TLB_Free(pFInfo->pParamDesc);
|
||||
for (pCustData = This->pCustData; pCustData; pCustData = pCustDataNext)
|
||||
for (pCustData = pFInfo->pCustData; pCustData; pCustData = pCustDataNext)
|
||||
{
|
||||
VariantClear(&pCustData->data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue