dbertoni 2003/01/23 18:32:21
Modified: c/src/XPath XObject.hpp
Log:
Added release() call.
Revision Changes Path
1.27 +11 -1 xml-xalan/c/src/XPath/XObject.hpp
Index: XObject.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XObject.hpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- XObject.hpp 3 Jan 2003 08:03:14 -0000 1.26
+++ XObject.hpp 24 Jan 2003 02:32:21 -0000 1.27
@@ -651,6 +651,16 @@
XalanReferenceCountedObject::removeReference(m_xobjectPtr);
};
+ void
+ release()
+ {
+ XObject* const xobjectPtr = m_xobjectPtr;
+
+ m_xobjectPtr = 0;
+
+ XalanReferenceCountedObject::removeReference(xobjectPtr);
+ }
+
bool
null() const
{
@@ -695,7 +705,7 @@
private:
- XObject* m_xobjectPtr;
+ XObject* m_xobjectPtr;
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]