Memory leak in soap_body_disp::axis2_soap_body_disp_find_svc
------------------------------------------------------------
Key: AXIS2C-1517
URL: https://issues.apache.org/jira/browse/AXIS2C-1517
Project: Axis2-C
Issue Type: Bug
Components: core/engine
Affects Versions: 1.6.0
Reporter: Alessandro Riva
The method axutil_parse_request_url_for_svc_and_op allocates a two entry
axis2_char_t ** array (service and operation).
The operation part was not freed.
==6663== 1 bytes in 1 blocks are definitely lost in loss record 1 of 13
==6663== at 0x4024C1C: malloc (vg_replace_malloc.c:195)
==6663== by 0x4196D0C: axutil_allocator_malloc_impl (allocator.c:75)
==6663== by 0x419A58E: axutil_strdup (string.c:283)
==6663== by 0x419D566: axutil_parse_request_url_for_svc_and_op (utils.c:448)
==6663== by 0x4201BB5: axis2_soap_body_disp_find_svc (soap_body_disp.c:134)
==6663== by 0x4220E83: axis2_msg_ctx_find_svc (msg_ctx.c:2084)
==6663== by 0x4201373: axis2_disp_find_svc_and_op (disp.c:156)
==6663== by 0x420190E: axis2_soap_body_disp_invoke (soap_body_disp.c:270)
==6663== by 0x41F989C: axis2_handler_invoke (handler.c:91)
==6663== by 0x41FF488: axis2_phase_invoke (phase.c:230)
==6663== by 0x4202BC2: axis2_engine_invoke_phases (engine.c:691)
==6663== by 0x4203593: axis2_engine_receive (engine.c:249)
--
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]