dbertoni 2004/10/24 11:59:55
Modified: c/src/xalanc/XSLT StylesheetExecutionContextDefault.cpp
Log:
Fix for Jira XALANC-425.
Revision Changes Path
1.32 +12 -0
xml-xalan/c/src/xalanc/XSLT/StylesheetExecutionContextDefault.cpp
Index: StylesheetExecutionContextDefault.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/xalanc/XSLT/StylesheetExecutionContextDefault.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- StylesheetExecutionContextDefault.cpp 12 Oct 2004 21:57:08 -0000
1.31
+++ StylesheetExecutionContextDefault.cpp 24 Oct 2004 18:59:55 -0000
1.32
@@ -1332,6 +1332,18 @@
XalanDocumentFragment* const theDocumentFragment =
theXResultTreeFrag->release();
+ const KeyTablesTableType::iterator i =
+ m_keyTables.find(theDocumentFragment);
+
+ if (i != m_keyTables.end())
+ {
+ KeyTable* const theTable = (*i).second;
+
+ m_keyTables.erase(i);
+
+ delete theTable;
+ }
+
m_xresultTreeFragAllocator.destroy(theXResultTreeFrag);
if (m_usePerInstanceDocumentFactory == true)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]