Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 41213 invoked from network); 13 Dec 2005 16:33:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 16:33:39 -0000 Received: (qmail 58897 invoked by uid 500); 13 Dec 2005 13:40:09 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 58823 invoked by uid 500); 13 Dec 2005 13:40:09 -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 58802 invoked by uid 99); 13 Dec 2005 13:40:08 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 05:40:07 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E3CF022E for ; Tue, 13 Dec 2005 14:39:45 +0100 (CET) Message-ID: <1303505960.1134481185883.JavaMail.jira@ajax.apache.org> Date: Tue, 13 Dec 2005 14:39:45 +0100 (CET) From: "Adrian Dick (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXISCPP-149) Memory cleaning of generated C++ array code In-Reply-To: <1794896755.1094180630170.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-149?page=comments#action_12360296 ] Adrian Dick commented on AXISCPP-149: ------------------------------------- In reference to the comment made by Nadir ( http://issues.apache.org/jira/browse/AXISCPP-149#action_12360280 ): I had intended to use 'const' throughout, but as you mention there is no reason to use "const" at all in this case. So, I think we should go in and remove all the offending occurances - I don't believe this will make any significate difference to the API and it's use. (If it does the test suite should pick it up quickly enough) > Memory cleaning of generated C++ array code > ------------------------------------------- > > Key: AXISCPP-149 > URL: http://issues.apache.org/jira/browse/AXISCPP-149 > Project: Axis-C++ > Type: Improvement > Components: WSDL processing - RPC > Versions: 1.3 Final > Environment: All Platforms > Reporter: Samisa Abeysinghe > Assignee: Dushshantha Chandradasa > Fix For: 1.6 Alpha > > In case of Arrays, I noticed that the WSDL2WS tool is generating a > struct. > e.g. > typedef struct SOAPStruct_ArrayTag > { > SOAPStruct* m_Array; > int m_Size; > } SOAPStruct_Array; > The trouble here is that in case of returned values/parameters the user > has to delete the m_Array mamber explicitly. > I think a more cleaner way would be to use a class here and use a > destructor to clean memory. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira