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 )