axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/common AxisConfig.cpp
Date Tue, 07 Sep 2004 06:47:45 GMT
samisa      2004/09/06 23:47:44

  Modified:    c/src/common AxisConfig.cpp
  Log:
  Fixed few more memory leaks and bug itroduced in earlier leak
  
  Revision  Changes    Path
  1.48      +3 -1      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.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- AxisConfig.cpp	7 Sep 2004 05:43:23 -0000	1.47
  +++ AxisConfig.cpp	7 Sep 2004 06:47:44 -0000	1.48
  @@ -94,9 +94,11 @@
   {
       for (int i = 0; i < AXCONF_LAST; i++)
       {
  -	m_pcValueArray[i] = NULL;
  +	free(m_pcValueArray[i]);
       }
   
  +    if (m_pcAxisHome)
  +        free(m_pcAxisHome);
   }
   
   int
  
  
  

Mime
View raw message