diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-02-07 22:01:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-02-07 22:01:49 +0000 |
commit | 78ac92ad8d6c97c57d09bef01608622706b24f65 (patch) | |
tree | e012386e36d8768df6812074fb62b2450aebe6bc /malloc/arena.c | |
parent | 7dddb4bd1e22d8aa3cb2af9f5116ceec394d2d44 (diff) | |
download | glibc-78ac92ad8d6c97c57d09bef01608622706b24f65.tar.gz glibc-78ac92ad8d6c97c57d09bef01608622706b24f65.tar.xz 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.c | 2 |
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); } |