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 wh...@apache.org on 2005/03/04 16:27:41 UTC

cvs commit: ws-axis/c/src/common AxisGenException.cpp

whitlock    2005/03/04 07:27:41

  Modified:    c/src/common AxisGenException.cpp
  Log:
  AXISCPP-497 change delete to delete [] in AxisGenException::processException
  
  Revision  Changes    Path
  1.10      +1 -1      ws-axis/c/src/common/AxisGenException.cpp
  
  Index: AxisGenException.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/AxisGenException.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AxisGenException.cpp	22 Feb 2005 16:51:41 -0000	1.9
  +++ AxisGenException.cpp	4 Mar 2005 15:27:41 -0000	1.10
  @@ -81,7 +81,7 @@
       AxisString sMessage = pcMessage;
       m_sMessage = getMessage(iExceptionCode) + sMessage;
       if(pcMessage)
  -        delete pcMessage;
  +        delete [] pcMessage;
   }
   
   const string AxisGenException::getMessage (const exception* objException)