diff options
author | Armelle Laine <armellel@google.com> | 2022-10-22 06:11:32 +0000 |
---|---|---|
committer | Armelle Laine <armellel@google.com> | 2022-12-03 07:12:50 +0000 |
commit | 183cfd4cc6d2e3ee6786ab582d54bad0cb70410a (patch) | |
tree | 93948faa8be9415a2d45dbf6c666b0ae1ce47710 /lib | |
parent | f7dd0d6d3e24d36d3189124142561e0203f505b4 (diff) | |
download | common-183cfd4cc6d2e3ee6786ab582d54bad0cb70410a.tar.gz |
lib: heap: cmpctmalloc: fix misleading return statement
Bug: 252874485
Change-Id: Id0e653111b1454c251dd8d0e79a5fccf84d6fe36
Diffstat (limited to 'lib')
-rw-r--r-- | lib/heap/cmpctmalloc/cmpctmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/heap/cmpctmalloc/cmpctmalloc.c b/lib/heap/cmpctmalloc/cmpctmalloc.c index 0d349130..9e27ab53 100644 --- a/lib/heap/cmpctmalloc/cmpctmalloc.c +++ b/lib/heap/cmpctmalloc/cmpctmalloc.c @@ -307,7 +307,7 @@ static void unlink_free(free_t *free_area, int bucket) static void unlink_free_unknown_bucket(free_t *free_area) { - return unlink_free(free_area, size_to_index_freeing(free_area->header.size - sizeof(header_t))); + unlink_free(free_area, size_to_index_freeing(free_area->header.size - sizeof(header_t))); } static void *create_allocation_header( |