about summary refs log tree commit diff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2010-12-25 14:15:42 -0500
committerUlrich Drepper <drepper@gmail.com>2010-12-25 14:15:42 -0500
commit9798346413d74dc9b3c64731807600b5ab9c1517 (patch)
treef3af41770b6d7ef49f9501fd8cd44500651d8e17 /malloc/malloc.c
parent98727dbea212799beb7a15eeb9a21c8c5d100267 (diff)
downloadglibc-9798346413d74dc9b3c64731807600b5ab9c1517.tar.gz
glibc-9798346413d74dc9b3c64731807600b5ab9c1517.tar.xz
glibc-9798346413d74dc9b3c64731807600b5ab9c1517.zip
Use fastbin macro everywhere.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index f7770a394c..3e06b8755b 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -2831,7 +2831,7 @@ static void do_check_malloc_state(mstate av)
   max_fast_bin = fastbin_index(get_max_fast ());
 
   for (i = 0; i < NFASTBINS; ++i) {
-    p = av->fastbins[i];
+    p = fastbin (av, i);
 
     /* The following test can only be performed for the main arena.
        While mallopt calls malloc_consolidate to get rid of all fast