activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r910789 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp
Date Wed, 17 Feb 2010 00:37:35 GMT
Author: tabish
Date: Wed Feb 17 00:37:35 2010
New Revision: 910789

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

Fix memory leak in the Inflater destructor

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp?rev=910789&r1=910788&r2=910789&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp Wed Feb
17 00:37:35 2010
@@ -150,6 +150,7 @@
 Inflater::~Inflater() {
     try{
         this->end();
+        delete data;
     }
     DECAF_CATCH_NOTHROW( Exception )
     DECAF_CATCHALL_NOTHROW()



Mime
View raw message