From: Andy Heninger Date: Wed, 10 Aug 2011 00:39:09 +0000 (+0000) Subject: ICU-8723 use array delete when appropriate in gencfu.cpp X-Git-Tag: milestone-59-0-1~4592 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f785d7ed64ff4a4fe682389119e2296557c3987;p=icu ICU-8723 use array delete when appropriate in gencfu.cpp X-SVN-Rev: 30481 --- diff --git a/icu4c/source/tools/gencfu/gencfu.cpp b/icu4c/source/tools/gencfu/gencfu.cpp index 79a11f9fc0c..37bb1dad33c 100644 --- a/icu4c/source/tools/gencfu/gencfu.cpp +++ b/icu4c/source/tools/gencfu/gencfu.cpp @@ -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;