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 Decimal.cpp Decimal.hpp
Date Thu, 20 Jan 2005 04:39:44 GMT
samisa      2005/01/19 20:39:44

  Modified:    c/src/soap/xsd Decimal.cpp Decimal.hpp
  Log:
  Added destructor and some meory cleaning logic. AXISCPP-384.
  
  Revision  Changes    Path
  1.3       +9 -0      ws-axis/c/src/soap/xsd/Decimal.cpp
  
  Index: Decimal.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/xsd/Decimal.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Decimal.cpp	19 Jan 2005 15:22:33 -0000	1.2
  +++ Decimal.cpp	20 Jan 2005 04:39:44 -0000	1.3
  @@ -6,6 +6,15 @@
   {
   }
   
  +Decimal::~Decimal()
  +{
  +    if (m_Decimal)
  +    {
  +        delete m_Decimal;
  +        m_Decimal = NULL;
  +    }
  +}
  +
   AxisChar* Decimal::serialize(const void* value) throw (AxisSoapException)
   {
   	return serialize((double*) value);	
  
  
  
  1.3       +5 -0      ws-axis/c/src/soap/xsd/Decimal.hpp
  
  Index: Decimal.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/xsd/Decimal.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Decimal.hpp	19 Jan 2005 15:22:33 -0000	1.2
  +++ Decimal.hpp	20 Jan 2005 04:39:44 -0000	1.3
  @@ -36,6 +36,11 @@
        */
       Decimal();
       
  +    /**
  +     * Destructor
  +     */
  +    ~Decimal();
  +    
   	/**
   	 * Serialize value to it's on-the-wire string form.
   	 * @param value The value to be serialized.
  
  
  

Mime
View raw message