in raw_xml_in_out_msg_recv.c there is log printout, which contains
axiom_node_to_string(), but it is not freed
--------------------------------------------------------------------------------------------------------------
Key: AXIS2C-1471
URL: https://issues.apache.org/jira/browse/AXIS2C-1471
Project: Axis2-C
Issue Type: Bug
Components: core/receivers
Affects Versions: 1.7.0
Environment: linux
Reporter: Robert Springer
Priority: Minor
in raw_xml_in_out_msg_recv.c there is log printout, which contains
axiom_node_to_string(), but it is not freed.
Index: src/core/receivers/raw_xml_in_out_msg_recv.c
===================================================================
--- src/core/receivers/raw_xml_in_out_msg_recv.c (revision 924674)
+++ src/core/receivers/raw_xml_in_out_msg_recv.c (working copy)
@@ -386,8 +386,9 @@
fault_detail = axiom_soap_fault_detail_create_with_parent(env,
soap_fault);
fault_detail_node =
axiom_soap_fault_detail_get_base_node(fault_detail, env);
- AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "fault_detail:%s",
axiom_node_to_string(
- fault_detail_node, env));
+ axis2_char_t* log_str = axiom_node_to_string(fault_detail_node, env);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "fault_detail:%s", log_str);
+ AXIS2_FREE(env->allocator, log_str);
axiom_soap_fault_detail_add_detail_entry(fault_detail, env,
fault_node);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]