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/07/12 06:48:12 UTC
cvs commit: ws-axis/c/src/wsdd WSDDService.cpp
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);
}