]> granicus.if.org Git - icu/commitdiff
ICU-8723 use array delete when appropriate in gencfu.cpp
authorAndy Heninger <andy.heninger@gmail.com>
Wed, 10 Aug 2011 00:39:09 +0000 (00:39 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Wed, 10 Aug 2011 00:39:09 +0000 (00:39 +0000)
X-SVN-Rev: 30481

icu4c/source/tools/gencfu/gencfu.cpp

index 79a11f9fc0c6a010248a43645a6e237eefa6c2d2..37bb1dad33ca20ec9c25d34d8dcc5e4324c1382a 100644 (file)
@@ -287,8 +287,8 @@ int  main(int argc, char **argv) {
 
     uspoof_close(sc);
     delete [] outData;
-    delete confusables;
-    delete wsConfsables;
+    delete [] confusables;
+    delete [] wsConfsables;
     u_cleanup();
     printf("gencfu: tool completed successfully.\n");
     return 0;