activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r946644 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/ssl/SSLSocketFactoryTest.cpp
Date Thu, 20 May 2010 14:33:15 GMT
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
 



Mime
View raw message