X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..efa1e6592fb03ce23b15276b2b91d885a3ee7da5:/icuSources/samples/numfmt/util.cpp diff --git a/icuSources/samples/numfmt/util.cpp b/icuSources/samples/numfmt/util.cpp index b4025444..121e1309 100644 --- a/icuSources/samples/numfmt/util.cpp +++ b/icuSources/samples/numfmt/util.cpp @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 1999-2003, International Business Machines Corporation and + * Copyright (c) 1999-2003,2009, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -72,7 +72,7 @@ void uprintf(const UnicodeString &str) { } printf("%s", buf); if(buf != stackBuffer) { - delete buf; + delete[] buf; } }