You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/04/04 21:08:48 UTC
svn commit: r761989 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/test-benchmarks/decaf/io/DataInputStreamBenchmark.cpp
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;
}
////////////////////////////////////////////////////////////////////////////////