From b1723348b5583c6eb489cb147994d64fe6923b35 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 1 Aug 2002 07:46:55 +0000 Subject: Use MALLOC_REALLOC_MIN_FREE_SIZE. --- libc/stdlib/malloc/realloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/stdlib/malloc/realloc.c b/libc/stdlib/malloc/realloc.c index f1b78fcbc..7188bc897 100644 --- a/libc/stdlib/malloc/realloc.c +++ b/libc/stdlib/malloc/realloc.c @@ -61,7 +61,7 @@ realloc (void *mem, size_t new_size) mem = new_mem; } } - else if (new_size + HEAP_MIN_FREE_AREA_SIZE <= size) + else if (new_size + MALLOC_REALLOC_MIN_FREE_SIZE <= size) /* Shrink the block. */ { __malloc_lock (); -- cgit v1.2.3