Ejemplo n.º 1
0
XMLTreeNode::~XMLTreeNode()
{
	DeleteAttributes();
	DeleteChildren();

	if (type) {
		free(type);
		type=0;
	};
	if (data) {
		delete[] data;
		dataSize=0;
	};

	next=0;
}
Ejemplo n.º 2
0
CXMLAttributesImpl::~CXMLAttributesImpl()
{
    // Delete all attribute wrappers (not from the xml tree)
    DeleteAttributes();
}