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

Unified Diff: chrome/third_party/hunspell/src/hunspell/affentry.cxx

Issue 113324: Apply codereview/115228 to 172.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: Created 11 years, 7 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 | chrome/third_party/hunspell/src/hunspell/affixmgr.cxx » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/third_party/hunspell/src/hunspell/affentry.cxx
===================================================================
--- chrome/third_party/hunspell/src/hunspell/affentry.cxx (revision 15935)
+++ chrome/third_party/hunspell/src/hunspell/affentry.cxx (working copy)
@@ -59,7 +59,7 @@
appnd = NULL;
strip = NULL;
if (opts & aeUTF8) {
- for (int i = 0; i < 8; i++) {
+ for (int i = 0; i < numconds; i++) {
if (conds.utf8.wchars[i]) free(conds.utf8.wchars[i]);
}
}
« no previous file with comments | « no previous file | chrome/third_party/hunspell/src/hunspell/affixmgr.cxx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698