summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar nadiramra2010-06-02 03:57:54 +0000
committerGravatar nadiramra2010-06-02 03:57:54 +0000
commit914851ec152f8a6293a0e35ebf28505eabae1ef6 (patch)
treed90c4367924ce7f3187c46cff6bdc8803d8ca545 /src/modules
parentdd78e2b3734196578f85d1cc15ccf86a38dba1e5 (diff)
downloadaxis2c-914851ec152f8a6293a0e35ebf28505eabae1ef6.tar.gz
axis2c-914851ec152f8a6293a0e35ebf28505eabae1ef6.tar.bz2
AXIS2C-1471 axiom_node_to_string() return value is not being free'ed.
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@950359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/mod_log/log_in_handler.c3
-rw-r--r--src/modules/mod_log/log_out_handler.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/mod_log/log_in_handler.c b/src/modules/mod_log/log_in_handler.c
index e7f7464..b7bbb60 100644
--- a/src/modules/mod_log/log_in_handler.c
+++ b/src/modules/mod_log/log_in_handler.c
@@ -71,7 +71,7 @@ axutil_log_in_handler_invoke(
if(soap_envelope)
{
- /* ensure SOAP buider state is in sync */
+ /* ensure SOAP builder state is in sync */
axiom_soap_envelope_get_body(soap_envelope, env);
ret_node = axiom_soap_envelope_get_base_node(soap_envelope, env);
@@ -82,6 +82,7 @@ axutil_log_in_handler_invoke(
if(om_str)
{
AXIS2_LOG_INFO(env->log, "Input message: %s", om_str);
+ AXIS2_FREE(env->allocator, om_str);
}
}
}
diff --git a/src/modules/mod_log/log_out_handler.c b/src/modules/mod_log/log_out_handler.c
index 14af2b6..a12e1f7 100644
--- a/src/modules/mod_log/log_out_handler.c
+++ b/src/modules/mod_log/log_out_handler.c
@@ -80,6 +80,7 @@ axutil_log_out_handler_invoke(
if(om_str)
{
AXIS2_LOG_INFO(env->log, "Output message: %s", om_str);
+ AXIS2_FREE(env->allocator, om_str);
}
}
}