activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r523509 - /activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp
Date Wed, 28 Mar 2007 23:41:49 GMT
Author: tabish
Date: Wed Mar 28 16:41:49 2007
New Revision: 523509

URL: http://svn.apache.org/viewvc?view=rev&rev=523509
Log:
http://issues.apache.org/activemq/browse/AMQCPP-95

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp?view=diff&rev=523509&r1=523508&r2=523509
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp Wed Mar 28 16:41:49 2007
@@ -75,6 +75,9 @@
             // Create a Connection
             connection = connectionFactory->createConnection();
             connection->start();
+            
+            // free the factory, we are done with it.
+            delete connectionFactory;
 
             // Create a Session
             session = connection->createSession( Session::AUTO_ACKNOWLEDGE );



Mime
View raw message