diff options
author | Ted Ross <tross@apache.org> | 2008-07-03 15:49:48 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2008-07-03 15:49:48 +0000 |
commit | e8627f39f81d5105c8afd532da48f2f2b98d86d8 (patch) | |
tree | da3b1a77f28182d98dd4cf0cc202687bf5ff2200 /qpid/cpp | |
parent | fed24c803a9c901f3fdc680c136230326a166580 (diff) | |
download | qpid-python-e8627f39f81d5105c8afd532da48f2f2b98d86d8.tar.gz |
QPID-1160 - Use array-style delete for allocated array
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@673718 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r-- | qpid/cpp/managementgen/templates/Class.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/managementgen/templates/Class.cpp b/qpid/cpp/managementgen/templates/Class.cpp index 1ea1da5090..100e306fe0 100644 --- a/qpid/cpp/managementgen/templates/Class.cpp +++ b/qpid/cpp/managementgen/templates/Class.cpp @@ -56,7 +56,7 @@ uint8_t /*MGEN:Class.NameCap*/::md5Sum[16] = for (int idx = 0; idx < maxThreads; idx++) if (perThreadStatsArray[idx] != 0) delete perThreadStatsArray[idx]; - delete perThreadStatsArray; + delete[] perThreadStatsArray; /*MGEN:ENDIF*/ } |