activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r761989 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp
Date Sat, 04 Apr 2009 19:08:48 GMT
Author: tabish
Date: Sat Apr  4 19:08:48 2009
New Revision: 761989

URL: http://svn.apache.org/viewvc?rev=761989&view=rev
Log:
Fix a delete call for an array to have the [] specifier

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp?rev=761989&r1=761988&r2=761989&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp
Sat Apr  4 19:08:48 2009
@@ -41,7 +41,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 void DataInputStreamBenchmark::tearDown(){
 
-    delete buffer;
+    delete [] buffer;
 }
 
 ////////////////////////////////////////////////////////////////////////////////



Mime
View raw message