memory leak in code generated by WSDL2C, soap_act  not freed
------------------------------------------------------------

                 Key: AXIS2C-1151
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1151
             Project: Axis2-C
          Issue Type: Bug
          Components: code generation
    Affects Versions: 1.4.0
         Environment: linuc fc5
            Reporter: Frederic Heem


In the client code generated, here is a piece of code which allocates a string  
but doesn't free it:
            if (NULL == soap_action)
            {
              is_soap_act_set = AXIS2_FALSE;
              soap_action = "GetDeviceList";
              
              soap_act = axutil_string_create(env, "GetDeviceList"); 
<<<<<<<<HERE
              axis2_options_set_soap_action(options, env, soap_act);    
              
              axis2_options_set_action( options, env, soap_action );
            }
The string soap_act is not freed, thus resulting in a memory leak each time the 
the client code invokes the operation

-- 
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]

Reply via email to