Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 63605 invoked from network); 20 May 2006 14:33:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 May 2006 14:33:18 -0000 Received: (qmail 53312 invoked by uid 500); 20 May 2006 14:33:16 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 53084 invoked by uid 500); 20 May 2006 14:33:16 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 53073 invoked by uid 99); 20 May 2006 14:33:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 07:33:15 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 07:33:15 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 3EA261A983A; Sat, 20 May 2006 07:32:55 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r408007 - in /webservices/axis/trunk/c/src/cbindings: AxisC.cpp AxisExceptionC.cpp Date: Sat, 20 May 2006 14:32:54 -0000 To: axis-cvs@ws.apache.org From: nadiramra@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060520143255.3EA261A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: nadiramra Date: Sat May 20 07:32:54 2006 New Revision: 408007 URL: http://svn.apache.org/viewvc?rev=408007&view=rev Log: C support fixes/enhancements. Modified: webservices/axis/trunk/c/src/cbindings/AxisC.cpp webservices/axis/trunk/c/src/cbindings/AxisExceptionC.cpp Modified: webservices/axis/trunk/c/src/cbindings/AxisC.cpp URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/cbindings/AxisC.cpp?rev=408007&r1=408006&r2=408007&view=diff ============================================================================== --- webservices/axis/trunk/c/src/cbindings/AxisC.cpp (original) +++ webservices/axis/trunk/c/src/cbindings/AxisC.cpp Sat May 20 07:32:54 2006 @@ -161,14 +161,18 @@ } case XSDC_BASE64BINARY: { - // TODO delete elements? - delete (xsdc__base64Binary*) pValue; + xsdc__base64Binary* b64 = (xsdc__base64Binary*) pValue; + if (b64->__ptr) + delete [] b64->__ptr; + delete b64; break; } case XSDC_HEXBINARY: { - // TODO delete elements? - delete (xsdc__hexBinary*) pValue; + xsdc__hexBinary* hb = (xsdc__hexBinary*) pValue; + if (hb->__ptr) + delete [] hb->__ptr; + delete hb; break; } case XSDC_ANY: Modified: webservices/axis/trunk/c/src/cbindings/AxisExceptionC.cpp URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/cbindings/AxisExceptionC.cpp?rev=408007&r1=408006&r2=408007&view=diff ============================================================================== --- webservices/axis/trunk/c/src/cbindings/AxisExceptionC.cpp (original) +++ webservices/axis/trunk/c/src/cbindings/AxisExceptionC.cpp Sat May 20 07:32:54 2006 @@ -37,7 +37,7 @@ } AXISC_STORAGE_CLASS_INFO -const int axiscExceptionGetExceptionCode(AXISCHANDLE axisException) +int axiscExceptionGetExceptionCode(AXISCHANDLE axisException) { AxisException *ae = (AxisException*)axisException; return ae->getExceptionCode(); --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org