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 2005/02/09 11:12:36 UTC

cvs commit: ws-axis/c/src/engine HandlerPool.cpp

samisa      2005/02/09 02:12:36

  Modified:    c/src/engine HandlerPool.cpp
  Log:
  Applied memory management BP.
  
  Revision  Changes    Path
  1.36      +3 -3      ws-axis/c/src/engine/HandlerPool.cpp
  
  Index: HandlerPool.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/HandlerPool.cpp,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- HandlerPool.cpp	17 Dec 2004 11:49:45 -0000	1.35
  +++ HandlerPool.cpp	9 Feb 2005 10:12:36 -0000	1.36
  @@ -205,7 +205,7 @@
   {
       lock ();
       *ppChain = NULL;
  -    HandlerChain* pChain;
  +    HandlerChain* pChain = NULL;
       // check m_ChainStore to get a HandlerChain
       if (!m_ChainStore.empty ())
       {
  @@ -218,8 +218,8 @@
           pChain = new HandlerChain ();
       }
   
  -    WSDDHandler* pWSDDH;
  -    BasicHandler* pBH;
  +    WSDDHandler* pWSDDH = NULL;
  +    BasicHandler* pBH = NULL;
       int Status = AXIS_SUCCESS;
   
       for (WSDDHandlerList::const_iterator it = pHandlerList->begin ();