You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Bill Blough (Jira)" <ji...@apache.org> on 2020/04/07 16:38:00 UTC
[jira] [Reopened] (AXIS2C-1471) in raw_xml_in_out_msg_recv.c there
is log printout, which contains axiom_node_to_string(), but it is not freed
[ https://issues.apache.org/jira/browse/AXIS2C-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Blough reopened AXIS2C-1471:
---------------------------------
Reopening to update fix version (not possible from "closed" status)
> 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
> Fix For: Current (Nightly)
>
>
> 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 was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org