Whoops... I guess the regtests don't exercise that code...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4416 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c
index 152bbda..db7e438 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -2325,8 +2325,8 @@
if (mp != NULL) {
if (mp->chunks != NULL) {
MAC_Chunk* mc;
- VG_(OSet_ResetIter)(mp->chunks);
- while ( (mc = VG_(OSet_Next)(mp->chunks)) ) {
+ VG_(HT_ResetIter)(mp->chunks);
+ while ( (mc = VG_(HT_Next)(mp->chunks)) ) {
if (VG_(addr_is_in_block)(a, mc->data, mc->size,
MAC_MALLOC_REDZONE_SZB)) {
ai->akind = UserG;