X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..4388f060552cc537e71e957d32f35e9d75a61233:/icuSources/samples/translit/util.cpp diff --git a/icuSources/samples/translit/util.cpp b/icuSources/samples/translit/util.cpp index 25a8f022..9f0013c3 100644 --- a/icuSources/samples/translit/util.cpp +++ b/icuSources/samples/translit/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; }