Fix infinite loop in sector recycling introduced by r15054
(a regression test that will exercise sector recycling will follow)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15058 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_transtab.c b/coregrind/m_transtab.c
index 8292cce..0f6807e 100644
--- a/coregrind/m_transtab.c
+++ b/coregrind/m_transtab.c
@@ -1545,7 +1545,7 @@
                                       sno);
 
       /* Free up the eclass structures. */
-      for (EClassNo e = 0; e < ECLASS_N; i++) {
+      for (EClassNo e = 0; e < ECLASS_N; e++) {
          if (sec->ec2tte_size[e] == 0) {
             vg_assert(sec->ec2tte_used[e] == 0);
             vg_assert(sec->ec2tte[e] == NULL);