Commit a6de06aa authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32: Fix a couple of leaks on typeinfo release (Valgrind).

parent 27b51ce6
......@@ -5030,6 +5030,7 @@ static void ITypeInfoImpl_Destroy(ITypeInfoImpl *This)
VariantClear(&elemdesc->u.paramdesc.pparamdescex->varDefaultValue);
heap_free(elemdesc->u.paramdesc.pparamdescex);
}
TLB_FreeCustData(pFInfo->pParamDesc[i].pCustData);
SysFreeString(pFInfo->pParamDesc[i].Name);
}
heap_free(pFInfo->funcdesc.lprgelemdescParam);
......@@ -5052,6 +5053,7 @@ static void ITypeInfoImpl_Destroy(ITypeInfoImpl *This)
}
TLB_FreeCustData(pVInfo->pCustData);
SysFreeString(pVInfo->Name);
SysFreeString(pVInfo->HelpString);
pVInfoNext = pVInfo->next;
heap_free(pVInfo);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment