You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by au...@apache.org on 2001/02/09 20:29:19 UTC
cvs commit: xml-xalan/c/src/XPath XBoolean.cpp XPath.cpp XPathProcessorImpl.cpp XUnknown.cpp
auriemma 01/02/09 11:29:19
Modified: c/src/XPath XBoolean.cpp XPath.cpp XPathProcessorImpl.cpp
XUnknown.cpp
Log:
Changed calls from clear to releaseMemory.
Revision Changes Path
1.9 +2 -2 xml-xalan/c/src/XPath/XBoolean.cpp
Index: XBoolean.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XBoolean.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- XBoolean.cpp 2000/09/19 14:55:54 1.8
+++ XBoolean.cpp 2001/02/09 19:29:13 1.9
@@ -169,6 +169,6 @@
void
XBoolean::terminate()
{
- clear(s_falseString);
- clear(s_trueString);
+ releaseMemory(s_falseString);
+ releaseMemory(s_trueString);
}
1.44 +6 -6 xml-xalan/c/src/XPath/XPath.cpp
Index: XPath.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPath.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- XPath.cpp 2001/02/08 21:45:34 1.43
+++ XPath.cpp 2001/02/09 19:29:14 1.44
@@ -1471,12 +1471,12 @@
void
XPath::terminate()
{
- clear(::PSEUDONAME_ANY);
- clear(::PSEUDONAME_ROOT);
- clear(::PSEUDONAME_TEXT);
- clear(::PSEUDONAME_COMMENT);
- clear(::PSEUDONAME_PI);
- clear(::PSEUDONAME_OTHER);
+ releaseMemory(::PSEUDONAME_ANY);
+ releaseMemory(::PSEUDONAME_ROOT);
+ releaseMemory(::PSEUDONAME_TEXT);
+ releaseMemory(::PSEUDONAME_COMMENT);
+ releaseMemory(::PSEUDONAME_PI);
+ releaseMemory(::PSEUDONAME_OTHER);
s_functions.DestroyTable();
}
1.35 +12 -12 xml-xalan/c/src/XPath/XPathProcessorImpl.cpp
Index: XPathProcessorImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathProcessorImpl.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- XPathProcessorImpl.cpp 2001/02/05 22:47:44 1.34
+++ XPathProcessorImpl.cpp 2001/02/09 19:29:15 1.35
@@ -2597,16 +2597,16 @@
AxisNamesMapType().swap(::s_axisNames);
NodeTypesMapType().swap(::s_nodeTypes);
- clear(::s_functionIDString);
- clear(::s_functionKeyString);
- clear(::s_orString);
- clear(::s_andString);
- clear(::s_divString);
- clear(::s_modString);
- clear(::s_quoString);
- clear(::s_dotString);
- clear(::s_dotDotString);
- clear(::s_axisString);
- clear(::s_attributeString);
- clear(::s_childString);
+ releaseMemory(::s_functionIDString);
+ releaseMemory(::s_functionKeyString);
+ releaseMemory(::s_orString);
+ releaseMemory(::s_andString);
+ releaseMemory(::s_divString);
+ releaseMemory(::s_modString);
+ releaseMemory(::s_quoString);
+ releaseMemory(::s_dotString);
+ releaseMemory(::s_dotDotString);
+ releaseMemory(::s_axisString);
+ releaseMemory(::s_attributeString);
+ releaseMemory(::s_childString);
}
1.10 +2 -2 xml-xalan/c/src/XPath/XUnknown.cpp
Index: XUnknown.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XUnknown.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XUnknown.cpp 2000/11/09 19:39:44 1.9
+++ XUnknown.cpp 2001/02/09 19:29:15 1.10
@@ -167,6 +167,6 @@
void
XUnknown::terminate()
{
- clear(s_unknownVariableString);
- clear(s_unknownString);
+ releaseMemory(s_unknownVariableString);
+ releaseMemory(s_unknownString);
}