axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/wsdd WSDDService.cpp
Date Tue, 12 Jul 2005 04:48:12 GMT
samisa      2005/07/11 21:48:12

  Modified:    c/src/wsdd WSDDService.cpp
  Log:
  Fixed memory leak due to non deletion of m_ResponseHandlers in destructor.
  
  Revision  Changes    Path
  1.26      +1 -1      ws-axis/c/src/wsdd/WSDDService.cpp
  
  Index: WSDDService.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdd/WSDDService.cpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- WSDDService.cpp	24 Sep 2004 09:49:55 -0000	1.25
  +++ WSDDService.cpp	12 Jul 2005 04:48:12 -0000	1.26
  @@ -52,6 +52,7 @@
           {
               delete (*iter);
           }
  +        delete m_ResponseHandlers;
       }
   }
   
  @@ -142,7 +143,6 @@
   {
       if (bRequestFlow)
       {
  -        /* AXISTRACE1("WSDDService::AddHandler"); */
           if (!m_RequestHandlers) m_RequestHandlers = new WSDDHandlerList;
           m_RequestHandlers->push_back(pHandler);
       }
  
  
  

Mime
View raw message