You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jk...@apache.org on 2002/03/12 15:56:38 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath XPathContext.java

jkesselm    02/03/12 06:56:38

  Modified:    java/src/org/apache/xpath XPathContext.java
  Log:
  Bugzilla 6156 reopened: Same symptom, different disease -- rather than
  a late finalizer, we simply forgot to reset one field between invocations.
  
  Revision  Changes    Path
  1.36      +4 -0      xml-xalan/java/src/org/apache/xpath/XPathContext.java
  
  Index: XPathContext.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/XPathContext.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- XPathContext.java	4 Mar 2002 18:21:32 -0000	1.35
  +++ XPathContext.java	12 Mar 2002 14:56:38 -0000	1.36
  @@ -377,6 +377,10 @@
     		 	m_dtmManager.release((DTM)e.nextElement(), true);
       m_rtfdtm_stack=null; // drop our references too
       m_which_rtfdtm=-1;
  +    
  +    if(m_global_rtfdtm!=null)
  +  		 	m_dtmManager.release(m_global_rtfdtm,true);
  +    m_global_rtfdtm=null;
     	
       m_dtmManager = DTMManager.newInstance(
                      org.apache.xpath.objects.XMLStringFactoryImpl.getFactory());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org