activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1335743 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Date Tue, 08 May 2012 20:21:59 GMT
Author: tabish
Date: Tue May  8 20:21:58 2012
New Revision: 1335743

URL: http://svn.apache.org/viewvc?rev=1335743&view=rev
Log:
Fix a leak in deleteTempDestination()

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp?rev=1335743&r1=1335742&r2=1335743&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Tue May  8 20:21:58 2012
@@ -1435,7 +1435,7 @@ void ActiveMQConnection::deleteTempDesti
         while (iterator->hasNext()) {
             Pointer<ActiveMQSessionKernel> session = iterator->next();
             if (session->isInUse(destination)) {
-                throw new ActiveMQException(__FILE__, __LINE__, "A consumer is consuming
from the temporary destination");
+                throw ActiveMQException(__FILE__, __LINE__, "A consumer is consuming from
the temporary destination");
             }
         }
 



Mime
View raw message