From 428d49984405d0b1fc1f487c26e799504a0228fd Mon Sep 17 00:00:00 2001 From: vms Date: Tue, 2 Apr 2019 02:29:23 +0300 Subject: [PATCH] fix comment --- src/malloc/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/malloc/malloc.c b/src/malloc/malloc.c index a8b93fbb..20a94332 100644 --- a/src/malloc/malloc.c +++ b/src/malloc/malloc.c @@ -295,7 +295,7 @@ static struct chunk *get_chunk_from_unsorted_bin(size_t n) current = mal.bins[unsorted_bin_id].head; while(current != 0 && current != mal.bins[unsorted_bin_id].tail) { - // it is a the first-fit strategy + // use the simple first-fit strategy if(current->csize >= n) { if (!pretrim(current, n, unsorted_bin_id, unsorted_bin_id)) { unbin(current, unsorted_bin_id);