3 Jan
2008
3 Jan
'08
10: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