|
From: <sv...@va...> - 2015-04-01 18:15:50
|
Author: philippe
Date: Wed Apr 1 19:15:42 2015
New Revision: 15058
Log:
Fix infinite loop in sector recycling introduced by r15054
(a regression test that will exercise sector recycling will follow)
Modified:
trunk/coregrind/m_transtab.c
Modified: trunk/coregrind/m_transtab.c
==============================================================================
--- trunk/coregrind/m_transtab.c (original)
+++ trunk/coregrind/m_transtab.c Wed Apr 1 19:15:42 2015
@@ -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);
|