X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/48b980fed3435926e0b3a8d72ecb58be703a1c7a..729e4ab9bc6618bc3d8a898e575df7f4019e29ca:/icuSources/samples/msgfmt/util.cpp diff --git a/icuSources/samples/msgfmt/util.cpp b/icuSources/samples/msgfmt/util.cpp index 25a8f022..9f0013c3 100644 --- a/icuSources/samples/msgfmt/util.cpp +++ b/icuSources/samples/msgfmt/util.cpp @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1999-2002, International Business Machines Corporation and + * Copyright (c) 1999-2010, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -59,5 +59,5 @@ void uprintf(const UnicodeString &str) { actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion buf[actualLen] = 0; printf("%s", buf); - delete buf; + delete [] buf; }