activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r519133 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireSessionInfo.h
Date Fri, 16 Mar 2007 20:29:36 GMT
Author: tabish
Date: Fri Mar 16 13:29:35 2007
New Revision: 519133

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

Fix SessionInfo memory leak

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireSessionInfo.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireSessionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireSessionInfo.h?view=diff&rev=519133&r1=519132&r2=519133
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireSessionInfo.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireSessionInfo.h
Fri Mar 16 13:29:35 2007
@@ -50,7 +50,9 @@
             transaction = NULL;
             sessionInfo = NULL;
         }
-        virtual ~OpenWireSessionInfo() {}
+        virtual ~OpenWireSessionInfo() {
+            delete sessionInfo;
+        }
 
         /**
          * Gets the Connection Id of the Connection that this consumer is



Mime
View raw message