diff options
| author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-03-31 11:24:58 +0000 |
|---|---|---|
| committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-04-14 16:07:46 +0000 |
| commit | 69da24fbc5861fbf30c29c89154020a5c40342ca (patch) | |
| tree | f1f5fda66ca7b4544e817354390ffef2dcc0df10 /malloc/malloc-check.c | |
| parent | b0cb99bef5a2142563c49c908c2139310904404a (diff) | |
| download | glibc-69da24fbc5861fbf30c29c89154020a5c40342ca.tar.xz glibc-69da24fbc5861fbf30c29c89154020a5c40342ca.zip | |
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>
Diffstat (limited to 'malloc/malloc-check.c')
| -rw-r--r-- | malloc/malloc-check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc-check.c b/malloc/malloc-check.c index 814a916ee5..c5265ecb91 100644 --- a/malloc/malloc-check.c +++ b/malloc/malloc-check.c @@ -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); |
