ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/common AxisConfig.cpp
Date Wed, 28 Apr 2004 05:54:35 GMT
damitha     2004/04/27 22:54:35

  Modified:    c/src/common Tag: Release1-1-bugfixes-branch AxisConfig.cpp
  Log:
  memory was allocated using malloc. but freed using delete. this is a but.
  fixed it.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.16.2.1  +5 -5      ws-axis/c/src/common/AxisConfig.cpp
  
  Index: AxisConfig.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/AxisConfig.cpp,v
  retrieving revision 1.16
  retrieving revision 1.16.2.1
  diff -u -r1.16 -r1.16.2.1
  --- AxisConfig.cpp	7 Apr 2004 12:59:25 -0000	1.16
  +++ AxisConfig.cpp	28 Apr 2004 05:54:35 -0000	1.16.2.1
  @@ -38,15 +38,15 @@
   AxisConfig::~AxisConfig ()
   {
       if (m_sWsddFilePath)
  -        delete m_sWsddFilePath;
  +        free(m_sWsddFilePath);
       if (m_sAxisLogPath)
  -        delete m_sAxisLogPath;
  +        free(m_sAxisLogPath);
       if (m_sClientWsddFilePath)
  -        delete m_sClientWsddFilePath;
  +        free(m_sClientWsddFilePath);
       if (m_sAxisHome)
  -        delete m_sAxisHome;
  +        free(m_sAxisHome);
       if (m_sValue)
  -        delete m_sValue;
  +        free(m_sValue);
   }
   
   int AxisConfig::ReadConfFile ()
  
  
  

Mime
View raw message