You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2004/09/07 10:57:42 UTC
cvs commit: ws-axis/c/src/wsdd WSDDService.cpp WSDDDeployment.cpp
samisa 2004/09/07 01:57:42
Modified: c/src/wsdd WSDDService.cpp WSDDDeployment.cpp
Log:
Fixed few memory leaks due to non deletion of members
Revision Changes Path
1.24 +1 -0 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.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- WSDDService.cpp 6 Aug 2004 14:44:41 -0000 1.23
+++ WSDDService.cpp 7 Sep 2004 08:57:42 -0000 1.24
@@ -42,6 +42,7 @@
{
delete (*iter);
}
+ delete m_RequestHandlers;
}
if(m_ResponseHandlers)
1.41 +2 -1 ws-axis/c/src/wsdd/WSDDDeployment.cpp
Index: WSDDDeployment.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/wsdd/WSDDDeployment.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- WSDDDeployment.cpp 6 Aug 2004 14:44:41 -0000 1.40
+++ WSDDDeployment.cpp 7 Sep 2004 08:57:42 -0000 1.41
@@ -77,6 +77,7 @@
{
delete ((*iter2).second);
}
+ delete m_DeployedServices;
}
delete m_pLibNameIdMap;
}
@@ -106,7 +107,7 @@
int WSDDDeployment::loadWSDD(const AxisChar* sWSDD)
{
- m_sWSDDPath = string(sWSDD);
+ m_sWSDDPath = std::string(sWSDD);
WSDDDocument* doc = new WSDDDocument(m_pLibNameIdMap);
if (AXIS_SUCCESS != doc->getDeployment(sWSDD, this))
{