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

Unified Diff: source/i18n/rbt_data.cpp

Issue 6676011: Coverity INFINITE_LOOP Fix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu46/
Patch Set: Created 9 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/rbt_data.cpp
===================================================================
--- source/i18n/rbt_data.cpp (revision 75916)
+++ source/i18n/rbt_data.cpp (working copy)
@@ -72,7 +72,7 @@
}
// 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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698