mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
malloc: Inline _int_free
Inline _int_free since it is a small function and only really used by __libc_free. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -235,7 +235,7 @@ free_check (void *mem)
|
||||
{
|
||||
/* Mark the chunk as belonging to the library again. */
|
||||
(void)tag_region (chunk2mem (p), memsize (p));
|
||||
_int_free (&main_arena, p, 1);
|
||||
_int_free_chunk (&main_arena, p, chunksize (p), 1);
|
||||
__libc_lock_unlock (main_arena.mutex);
|
||||
}
|
||||
__set_errno (err);
|
||||
|
Reference in New Issue
Block a user