Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: source/i18n/rbt_data.cpp

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/i18n/rbnf.cpp ('k') | source/i18n/regexcmp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/rbt_data.cpp
diff --git a/source/i18n/rbt_data.cpp b/source/i18n/rbt_data.cpp
index bdb7ead8c3b2d29d855548ac58b3482c431b912d..cb949e541e242081ae0d00aa96fb06966aa0898a 100644
--- a/source/i18n/rbt_data.cpp
+++ b/source/i18n/rbt_data.cpp
@@ -1,6 +1,6 @@
/*
**********************************************************************
-* Copyright (C) 1999-2011, International Business Machines
+* Copyright (C) 1999-2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Date Name Description
@@ -72,7 +72,7 @@ TransliterationRuleData::TransliterationRuleData(const TransliterationRuleData&
}
// Remove the array and exit if memory allocation error occured.
if (U_FAILURE(status)) {
- for (int32_t n = i-1; n >= 0; n++) {
+ for (int32_t n = i-1; n >= 0; n--) {
delete variables[n];
}
uprv_free(variables);
« no previous file with comments | « source/i18n/rbnf.cpp ('k') | source/i18n/regexcmp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698