http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f13a07
)
oleaut32: Improve ITypeInfo::ReleaseTypeAttr.
author
Andrew Eikum
<aeikum@codeweavers.com>
Fri, 20 Aug 2010 19:59:01 +0000
(14:59 -0500)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 23 Aug 2010 09:49:36 +0000
(11:49 +0200)
dlls/oleaut32/typelib2.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/oleaut32/typelib2.c
b/dlls/oleaut32/typelib2.c
index 71fd43454b2aca6cc61d92c0a7fa7a6d9740f64d..ef43cab5f001f4ad6c2a811e5ddcda01632f8815 100644
(file)
--- 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);
}