Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 28629 invoked from network); 5 Feb 2009 01:34:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 01:34:32 -0000 Received: (qmail 91477 invoked by uid 500); 5 Feb 2009 01:34:32 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 91455 invoked by uid 500); 5 Feb 2009 01:34:32 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 91446 invoked by uid 99); 5 Feb 2009 01:34:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 17:34:32 -0800 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 01:34:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A99652388A22; Thu, 5 Feb 2009 01:34:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r740968 - /activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/OpenWireFormat.cpp Date: Thu, 05 Feb 2009 01:34:09 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090205013409.A99652388A22@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Thu Feb 5 01:34:09 2009 New Revision: 740968 URL: http://svn.apache.org/viewvc?rev=740968&view=rev Log: Fix some memory leaks Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/OpenWireFormat.cpp Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/OpenWireFormat.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/OpenWireFormat.cpp?rev=740968&r1=740967&r2=740968&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/OpenWireFormat.cpp (original) +++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/OpenWireFormat.cpp Thu Feb 5 01:34:09 2009 @@ -90,7 +90,7 @@ throw( decaf::lang::exceptions::UnsupportedOperationException ) { try{ - return new OpenWireFormatNegotiator( this, transport, false ); + return new OpenWireFormatNegotiator( this, transport, true ); } AMQ_CATCH_RETHROW( UnsupportedOperationException ) AMQ_CATCHALL_THROW( UnsupportedOperationException )