axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r643275 - /webservices/axis2/trunk/c/axiom/src/om/om_node.c
Date Tue, 01 Apr 2008 04:33:32 GMT
Author: shankar
Date: Mon Mar 31 21:33:24 2008
New Revision: 643275

URL: http://svn.apache.org/viewvc?rev=643275&view=rev
Log:
axiom data source memory leak fix

Modified:
    webservices/axis2/trunk/c/axiom/src/om/om_node.c

Modified: webservices/axis2/trunk/c/axiom/src/om/om_node.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_node.c?rev=643275&r1=643274&r2=643275&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_node.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_node.c Mon Mar 31 21:33:24 2008
@@ -143,6 +143,13 @@
             axiom_text_free((axiom_text_t *) (om_node->data_element), env);
         }
     }
+    else if (om_node->node_type == AXIOM_DATA_SOURCE)
+    {
+        if (om_node->data_element)
+        {
+            axiom_data_source_free((axiom_data_source_t *) (om_node->data_element), env);
+        }
+    }
 
     AXIS2_FREE(env->allocator, om_node);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message