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/soap/xsd HexBinary.cpp
Date Tue, 18 Jan 2005 09:17:11 GMT
samisa      2005/01/18 01:17:11

  Modified:    c/src/soap/xsd HexBinary.cpp
  Log:
  More fixes in line with AXISCPP-384
  
  Revision  Changes    Path
  1.4       +5 -5      ws-axis/c/src/soap/xsd/HexBinary.cpp
  
  Index: HexBinary.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/xsd/HexBinary.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HexBinary.cpp	18 Jan 2005 08:55:23 -0000	1.3
  +++ HexBinary.cpp	18 Jan 2005 09:17:11 -0000	1.4
  @@ -15,11 +15,11 @@
           m_Buf = NULL;
       }
   
  -    if (m_hexBinary)
  -    {
  -        delete [] m_hexBinary;
  -        m_hexBinary = NULL;
  -    }
  +    // Samisa: should not release m_hexBinary, as this is used by the deserializer and
  +    // according to our current memory management semantics, this is deallocated at
  +    // user written client code level. If we are to delete it here (which I think is the
better way)
  +    // we have to change the memory management semantics and updated the docs accordingly
  +    
   }
   
   
  
  
  

Mime
View raw message