diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c index 71fd43454b2..ef43cab5f00 100644 --- a/dlls/oleaut32/typelib2.c +++ b/dlls/oleaut32/typelib2.c @@ -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); }