]> granicus.if.org Git - icu/commitdiff
ICU-11961 Fix delete statement
authorMichael Ow <mow@svn.icu-project.org>
Tue, 8 Dec 2015 05:13:49 +0000 (05:13 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Tue, 8 Dec 2015 05:13:49 +0000 (05:13 +0000)
X-SVN-Rev: 38111

icu4c/source/test/intltest/simplethread.cpp

index ad25d16d7cb9e619662c760d3f8275b369b13b87..8aae4b8d05275aab4d2f3d30a30bdd53742b679d 100644 (file)
@@ -331,7 +331,7 @@ ThreadPoolBase::~ThreadPoolBase() {
             delete fThreads[i];
             fThreads[i] = NULL;
         }
-        delete fThreads;
+        delete[] fThreads;
         fThreads = NULL;
     }
 }