aboutsummaryrefslogtreecommitdiff
path: root/malloc/arena.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-02-07 22:01:49 +0000
committerUlrich Drepper <drepper@redhat.com>2009-02-07 22:01:49 +0000
commit78ac92ad8d6c97c57d09bef01608622706b24f65 (patch)
treee012386e36d8768df6812074fb62b2450aebe6bc /malloc/arena.c
parent7dddb4bd1e22d8aa3cb2af9f5116ceec394d2d44 (diff)
downloadglibc-78ac92ad8d6c97c57d09bef01608622706b24f65.tar
glibc-78ac92ad8d6c97c57d09bef01608622706b24f65.tar.gz
glibc-78ac92ad8d6c97c57d09bef01608622706b24f65.tar.bz2
glibc-78ac92ad8d6c97c57d09bef01608622706b24f65.zip
* malloc/malloc.c (_int_free): Second argument is now mchunkptr.
Change all callers. (_int_realloc): Likewise. All _int_* functions are now static. * malloc/hooks.c: Change all callers to _int_free and _int_realloc. * malloc/arena.c: Likewise. * include/malloc.h: Remove now unnecessary declarations of the _int_* functions.
Diffstat (limited to 'malloc/arena.c')
-rw-r--r--malloc/arena.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/arena.c b/malloc/arena.c
index 9932ee049b..cc03dc4a5b 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -223,7 +223,7 @@ free_atfork(Void_t* mem, const Void_t *caller)
tsd_getspecific(arena_key, vptr);
if(vptr != ATFORK_ARENA_PTR)
(void)mutex_lock(&ar_ptr->mutex);
- _int_free(ar_ptr, mem);
+ _int_free(ar_ptr, p);
if(vptr != ATFORK_ARENA_PTR)
(void)mutex_unlock(&ar_ptr->mutex);
}