Project

Profile

Help

Revision 85a9912e

Added by Dave Delpratt 5 months ago

Saxon/C Seg Error fixes

View differences:

src/main/c/Saxon.C.API/XdmNode.h
36 36
	XdmNode(XdmNode *parent, jobject, XDM_NODE_KIND);
37 37

  
38 38
	virtual ~XdmNode() {
39
        std::cerr<<"XdmNode destructor called"<<std::endl;
40 39
		if (getRefCount() <1){
41 40
		    delete baseURI;
42 41
			delete nodeName;
43 42
		}
44 43

  
45 44
		//There might be potential issues with children and attribute node not being deleted when the parent node has been deleted
46
		//we need to track this kind of problem.
47 45
	}
48 46

  
49 47
	virtual bool isAtomic();

Also available in: Unified diff