You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ga...@apache.org on 2003/09/24 12:37:53 UTC

cvs commit: xml-xerces/c/src/xercesc/parsers AbstractDOMParser.hpp

gareth      2003/09/24 03:37:53

  Modified:    c/src/xercesc/parsers AbstractDOMParser.hpp
  Log:
  useImplementation should use memory maneger. Patch by Alby.
  
  Revision  Changes    Path
  1.22      +3 -3      xml-xerces/c/src/xercesc/parsers/AbstractDOMParser.hpp
  
  Index: AbstractDOMParser.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/AbstractDOMParser.hpp,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- AbstractDOMParser.hpp	20 Aug 2003 20:49:30 -0000	1.21
  +++ AbstractDOMParser.hpp	24 Sep 2003 10:37:53 -0000	1.22
  @@ -1580,8 +1580,8 @@
   
   inline void AbstractDOMParser::useImplementation(const XMLCh* const implementationFeatures)
   {
  -    delete[] fImplementationFeatures;
  -    fImplementationFeatures = XMLString::replicate(implementationFeatures);
  +    fMemoryManager->deallocate(fImplementationFeatures); 
  +    fImplementationFeatures = XMLString::replicate(implementationFeatures, fMemoryManager); 
   }
   
   // ---------------------------------------------------------------------------
  
  
  

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