Re: [1/7] msxml3: Implement setNamedItem
3 Jan
2008
3 Jan
'08
4:56 a.m.
Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> writes:
+ /* Must be an Attribute */ + IUnknown_QueryInterface(newItem, &IID_IXMLDOMNode, (LPVOID*)&pAttr); + if(pAttr) + { + ThisNew = impl_from_IXMLDOMNode( pAttr ); + + IUnknown_Release(pAttr); + + if(ThisNew->node->type != XML_ATTRIBUTE_NODE) + return E_FAIL;
You shouldn't access the object after having released it. -- Alexandre Julliard julliard(a)winehq.org
6553
Age (days ago)
6553
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard