summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/tests/perftest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/perftest.cpp b/cpp/src/tests/perftest.cpp
index f383676da7..abf090af8d 100644
--- a/cpp/src/tests/perftest.cpp
+++ b/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;