From e18971bf14ee52848e2ed4c6374109315bd8fc28 Mon Sep 17 00:00:00 2001 From: damitha Date: Fri, 23 Sep 2011 10:32:59 +0000 Subject: Please refer https://issues.apache.org/jira/browse/AXIS2C-1562 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1174638 13f79535-47bb-0310-9956-ffa450edef68 --- neethi/src/assertion.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'neethi') diff --git a/neethi/src/assertion.c b/neethi/src/assertion.c index 29c70be..86597dc 100644 --- a/neethi/src/assertion.c +++ b/neethi/src/assertion.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -243,6 +244,11 @@ neethi_assertion_free( neethi_assertion->free_func(neethi_assertion->value, env); } } + if(neethi_assertion->node) + { + axiom_node_free_tree(neethi_assertion->node, env); + neethi_assertion->node = NULL; + } AXIS2_FREE(env->allocator, neethi_assertion); neethi_assertion = NULL; } -- cgit v1.1-32-gdbae