summaryrefslogtreecommitdiffstats
path: root/neethi/src
diff options
context:
space:
mode:
authorGravatar damitha2011-09-23 10:32:59 +0000
committerGravatar damitha2011-09-23 10:32:59 +0000
commite18971bf14ee52848e2ed4c6374109315bd8fc28 (patch)
tree82c6147139909a323917824880ebabfa4ec343b6 /neethi/src
parent353bd64960b39ede863e093250aa128261a292a3 (diff)
downloadaxis2c-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/src')
-rw-r--r--neethi/src/assertion.c6
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;
}