Author: tabish
Date: Mon Apr  4 20:37:52 2011
New Revision: 1088780

URL: http://svn.apache.org/viewvc?rev=1088780&view=rev
Log:
Fixes some memory leaks that are seen in the test run that can lead to a 
Runtime error on Windows when the integration tests complete.

Modified:
    
activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp

Modified: 
activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp
URL: 
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp?rev=1088780&r1=1088779&r2=1088780&view=diff
==============================================================================
--- 
activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp
 (original)
+++ 
activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleTest.cpp
 Mon Apr  4 20:37:52 2011
@@ -444,7 +444,7 @@ void SimpleTest::testBytesMessageSendRec
 void SimpleTest::testLibraryInitShutdownInit() {
 
     {
-        cmsProvider.release();
+        this->tearDown();
 
         // Shutdown the ActiveMQ library
         CPPUNIT_ASSERT_NO_THROW( 
activemq::library::ActiveMQCPP::shutdownLibrary() );


Reply via email to