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); |