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/08 06:50:19 UTC

cvs commit: ws-axis/c/src/transport/axis3 ChannelFactory.cpp

samisa      2005/02/07 21:50:19

  Modified:    c/src/transport/axis3 ChannelFactory.cpp
  Log:
  Fixed memory leak due to non use of [] in delete
  
  Revision  Changes    Path
  1.11      +1 -1      ws-axis/c/src/transport/axis3/ChannelFactory.cpp
  
  Index: ChannelFactory.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/ChannelFactory.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ChannelFactory.cpp	26 Jan 2005 12:22:49 -0000	1.10
  +++ ChannelFactory.cpp	8 Feb 2005 05:50:19 -0000	1.11
  @@ -154,7 +154,7 @@
   // Delete library name from the library name list.
   	if( m_pLibName[iLibIndex] != NULL)
   	{
  -		delete m_pLibName[iLibIndex];
  +		delete [] m_pLibName[iLibIndex];
   
   		m_pLibName[iLibIndex] = NULL;
   	}