]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/samples/numfmt/util.cpp
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / samples / numfmt / util.cpp
index b4025444991645576d6eaf6910517b0d73b035b3..121e13099a9eb6f85ff6673381e6227a2637019e 100644 (file)
@@ -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;
     }
 }