Modularised the malloc/free stuff into two modules: m_mallocfree for the
malloc/free implementation, and m_replacemalloc with the stuff for the tools
that replace malloc with their own version. Previously these two areas of
functionality were mixed up somewhat.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3648 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/mac_shared.c b/memcheck/mac_shared.c
index 55a2bec..9594474 100644
--- a/memcheck/mac_shared.c
+++ b/memcheck/mac_shared.c
@@ -379,7 +379,8 @@
{
Addr a = *(Addr *)ap;
- return VG_(addr_is_in_block)( a, mc->data, mc->size );
+ return VG_(addr_is_in_block)( a, mc->data, mc->size,
+ MAC_MALLOC_REDZONE_SZB );
}
/* Callback for searching malloc'd lists */