Commit 7fcea36a authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

oleaut32: Improve ITypeInfo::ReleaseTypeAttr.

parent 3f13a07b
......@@ -3564,6 +3564,9 @@ static void WINAPI ITypeInfo2_fnReleaseTypeAttr(
{
TRACE("(%p,%p)\n", iface, pTypeAttr);
if (pTypeAttr->tdescAlias.vt != VT_USERDEFINED)
release_typedesc(pTypeAttr->tdescAlias.u.lptdesc);
HeapFree(GetProcessHeap(), 0, pTypeAttr);
}
......
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