You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sh...@apache.org on 2008/04/01 06:33:32 UTC

svn commit: r643275 - /webservices/axis2/trunk/c/axiom/src/om/om_node.c

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