oleaut32: Free guid_list in ITypeLib2_Release.
This commit is contained in:
parent
6d6c3e5d81
commit
1967b35962
|
@ -4577,6 +4577,7 @@ static ULONG WINAPI ITypeLib2_fnRelease( ITypeLib2 *iface)
|
|||
TLBImpLib *pImpLib, *pImpLibNext;
|
||||
TLBRefType *ref_type;
|
||||
TLBString *tlbstr, *tlbstr_next;
|
||||
TLBGuid *tlbguid, *tlbguid_next;
|
||||
void *cursor2;
|
||||
int i;
|
||||
|
||||
|
@ -4604,6 +4605,11 @@ static ULONG WINAPI ITypeLib2_fnRelease( ITypeLib2 *iface)
|
|||
heap_free(tlbstr);
|
||||
}
|
||||
|
||||
LIST_FOR_EACH_ENTRY_SAFE(tlbguid, tlbguid_next, &This->guid_list, TLBGuid, entry) {
|
||||
list_remove(&tlbguid->entry);
|
||||
heap_free(tlbguid);
|
||||
}
|
||||
|
||||
TLB_FreeCustData(&This->custdata_list);
|
||||
|
||||
for (i = 0; i < This->ctTypeDesc; i++)
|
||||
|
|
Loading…
Reference in New Issue