Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 92224 invoked from network); 21 Jan 2005 09:15:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jan 2005 09:15:52 -0000 Received: (qmail 62959 invoked by uid 500); 21 Jan 2005 09:15:51 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 62922 invoked by uid 500); 21 Jan 2005 09:15:51 -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 62880 invoked by uid 99); 21 Jan 2005 09:15:51 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mtagate4.uk.ibm.com (HELO mtagate4.uk.ibm.com) (195.212.29.137) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 21 Jan 2005 01:15:50 -0800 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate4.uk.ibm.com (8.12.10/8.12.10) with ESMTP id j0L9Fh7E036974 for ; Fri, 21 Jan 2005 09:15:43 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j0L9G7l9073516 for ; Fri, 21 Jan 2005 09:16:07 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id j0L9FfYI012087 for ; Fri, 21 Jan 2005 09:15:41 GMT Received: from d06ml062.portsmouth.uk.ibm.com (d06ml062.portsmouth.uk.ibm.com [9.149.38.82]) by d06av04.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id j0L9FeNi012015 for ; Fri, 21 Jan 2005 09:15:41 GMT In-Reply-To: Subject: Re: Help fix Memory leaks in SOAPFault To: "Apache AXIS C Developers List" X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Adrian Dick Date: Fri, 21 Jan 2005 09:15:32 +0000 X-MIMETrack: Serialize by Router on D06ML062/06/M/IBM(Release 6.51HF338 | June 21, 2004) at 21/01/2005 09:20:29 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Samisa, I may be throwing you a red herring, but does "auto_ptr" provide any of the function you require? My C++ book here suggests it can be useful for ensuring correct destruction of objects when exceptions are handled. Regards, Adrian _______________________________________ Adrian Dick (adrian.dick@uk.ibm.com) Samisa Abeysinghe wrote on 21/01/2005 08:57:32: > As I have not got any responses on this, I shall try the deep copy > mechanism (with copy constructor), though I am not sure if that would > solve the problem given that there are some exception throwing is > involved. > > Also, the copy constructor mechanism could be complex as SOAPFaults > are handled by client specific exception class, generated by the Java > tool. > > If anyone have any better ideas please let know. > > Thanks, > Samisa... > > > > > On Thu, 20 Jan 2005 04:56:11 +0000, Samisa Abeysinghe > wrote: > > I need help from the original authours (or those who have a good > > understading) on SOAPFalut handling to fix the Jira issue > > http://issues.apache.org/jira/browse/AXISCPP-390 > > I have explained the problem as well as a possible solution. I would > > like to know the thoughts before fixing. Specially, would there be a > > better way to fix the problem? > > > > Thanks, > > Samisa... > >