peiyongz    2003/03/16 19:19:52

  Modified:    c/src/xercesc/framework XMLFormatter.hpp XMLFormatter.cpp
  Log:
  Bug#18051 memory leakage in XMLFormatter
  
  Revision  Changes    Path
  1.12      +4 -1      xml-xerces/c/src/xercesc/framework/XMLFormatter.hpp
  
  Index: XMLFormatter.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLFormatter.hpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XMLFormatter.hpp  16 Mar 2003 06:00:43 -0000      1.11
  +++ XMLFormatter.hpp  17 Mar 2003 03:19:52 -0000      1.12
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.12  2003/03/17 03:19:52  peiyongz
  + * Bug#18051 memory leakage in XMLFormatter
  + *
    * Revision 1.11  2003/03/16 06:00:43  peiyongz
    * Bug#17983 Formatter does not escape control characters
    *
  @@ -413,7 +416,7 @@
       //  Private helper methods
       // -----------------------------------------------------------------------
       const XMLByte* getCharRef(unsigned int & count, 
  -                              XMLByte *      ref, 
  +                              XMLByte*      &ref, 
                                 const XMLCh *  stdRef);  
    
       const void writeCharRef(const XMLCh &toWrite);
  
  
  
  1.10      +2 -2      xml-xerces/c/src/xercesc/framework/XMLFormatter.cpp
  
  Index: XMLFormatter.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLFormatter.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XMLFormatter.cpp  16 Mar 2003 06:00:43 -0000      1.9
  +++ XMLFormatter.cpp  17 Mar 2003 03:19:52 -0000      1.10
  @@ -507,7 +507,7 @@
   }
   
   const XMLByte* XMLFormatter::getCharRef(unsigned int & count, 
  -                                        XMLByte *      ref, 
  +                                        XMLByte*       &ref, 
                                           const XMLCh *  stdRef) 
   {
      if (!ref) { 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to