You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2004/09/07 10:13:21 UTC

cvs commit: ws-axis/c/src/xml/xerces XMLParserXerces.cpp

samisa      2004/09/07 01:13:21

  Modified:    c/src/xml/xerces XMLParserXerces.cpp
  Log:
  Parser has memory allocated with the last AnyElement parsed; cleaned that
  
  Revision  Changes    Path
  1.10      +3 -0      ws-axis/c/src/xml/xerces/XMLParserXerces.cpp
  
  Index: XMLParserXerces.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/xml/xerces/XMLParserXerces.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XMLParserXerces.cpp	28 Jun 2004 04:21:39 -0000	1.9
  +++ XMLParserXerces.cpp	7 Sep 2004 08:13:21 -0000	1.10
  @@ -38,6 +38,9 @@
   
   XMLParserXerces::~XMLParserXerces()
   {
  +    //Samisa - Parser has memory allocated with the last AnyElement parsed; clean that
  +    m_Xhandler.freeElement();
  +
       if(m_pInputSource)
           delete m_pInputSource;
       delete m_pParser;