Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 13987 invoked from network); 27 Jun 2008 06:30:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 06:30:35 -0000 Received: (qmail 15776 invoked by uid 500); 27 Jun 2008 06:30:37 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 15746 invoked by uid 500); 27 Jun 2008 06:30:36 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 15735 invoked by uid 99); 27 Jun 2008 06:30:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 23:30:36 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 06:29:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EE48C234C14C for ; Thu, 26 Jun 2008 23:29:44 -0700 (PDT) Message-ID: <611793107.1214548184961.JavaMail.jira@brutus> Date: Thu, 26 Jun 2008 23:29:44 -0700 (PDT) From: "Milinda Lakmal Pathirage (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2C-1151) memory leak in code generated by WSDL2C, soap_act not freed In-Reply-To: <1855244198.1211387035731.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milinda Lakmal Pathirage resolved AXIS2C-1151. ---------------------------------------------- Resolution: Fixed Fix Version/s: Current (Nightly) Fix apply to current SVN Head. > 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 > Assignee: Milinda Lakmal Pathirage > Fix For: Current (Nightly) > > > 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"); <<<<<<< 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: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org