You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/05/20 16:33:15 UTC
svn commit: r946644 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/ssl/SSLSocketFactoryTest.cpp
Author: tabish
Date: Thu May 20 14:33:15 2010
New Revision: 946644
URL: http://svn.apache.org/viewvc?rev=946644&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-140
Fix memory leak in test
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/ssl/SSLSocketFactoryTest.cpp
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/ssl/SSLSocketFactoryTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/ssl/SSLSocketFactoryTest.cpp?rev=946644&r1=946643&r2=946644&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/ssl/SSLSocketFactoryTest.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/ssl/SSLSocketFactoryTest.cpp Thu May 20 14:33:15 2010
@@ -44,6 +44,7 @@ void SSLSocketFactoryTest::testGetDefaul
Socket* sock = factory->createSocket();
CPPUNIT_ASSERT( sock != NULL );
+ delete sock;
#else