axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Bordin (JIRA)" <>
Subject [jira] Created: (AXIS2C-1003) Memory leak in WSDL2C client code
Date Fri, 22 Feb 2008 10:50:19 GMT
Memory leak in WSDL2C client code

                 Key: AXIS2C-1003
             Project: Axis2-C
          Issue Type: Bug
          Components: code generation
    Affects Versions: 1.2.0
         Environment: linux redhat as 4.0
axis2c 1.2.0
axis2java nigthly build
            Reporter: Simone Bordin

With valgrind i have found some memory leak in client generated with WSDL2C tool.

In stub source code, some data pointed by "svc_name", "soap_act", "op_qname" are allocated
but they are never free.
Also in some adb data type, there's the same problem with variable "start_input_str" and "end_input_str"
, "data_source".
(in attachement files:
     axis2_stub_AppSmsService.c: line 75, 180, 188
     adb_ParSmStateRequest.c: line 249, 354, 324
     adb_ParSmStateRequestType.c: line 667, 672, 739, 744, 810, 815

Some leaks are singalled in the the axis2c-1.2 library too.
Attached file "valgrind.txt" is the valgrind trace after i have resolved leaks in generated
code (except "data_source").

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:
For additional commands, e-mail:

View raw message