diff options
author | damitha | 2011-09-23 10:32:59 +0000 |
---|---|---|
committer | damitha | 2011-09-23 10:32:59 +0000 |
commit | e18971bf14ee52848e2ed4c6374109315bd8fc28 (patch) | |
tree | 82c6147139909a323917824880ebabfa4ec343b6 /neethi | |
parent | 353bd64960b39ede863e093250aa128261a292a3 (diff) | |
download | axis2c-e18971bf14ee52848e2ed4c6374109315bd8fc28.tar.gz axis2c-e18971bf14ee52848e2ed4c6374109315bd8fc28.tar.bz2 |
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
Diffstat (limited to 'neethi')
-rw-r--r-- | neethi/src/assertion.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <neethi_assertion.h> #include <axiom_util.h> +#include <axiom_node.h> #include <rp_x509_token.h> #include <rp_property.h> #include <rp_layout.h> @@ -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; } |