summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/cpp/src/tests/perftest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/perftest.cpp b/qpid/cpp/src/tests/perftest.cpp
index f383676da7..abf090af8d 100644
--- a/qpid/cpp/src/tests/perftest.cpp
+++ b/qpid/cpp/src/tests/perftest.cpp
@@ -182,7 +182,7 @@ void PublishThread::run() {
session.execution().sendSyncRequest();
}
}
- delete msgBuf;
+ delete [] msgBuf;
//Completion compl;
if (!opts.summary) cout << " done." << endl;