From 12ee7037a3108113845c0c0a55c87f25a4c7b4bf Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 19 Feb 2003 19:00:11 +0000 Subject: 2003-02-19 Jeff Johnston * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix. --- newlib/libc/stdlib/mallocr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libc') diff --git a/newlib/libc/stdlib/mallocr.c b/newlib/libc/stdlib/mallocr.c index fa2278224..5e104579e 100644 --- a/newlib/libc/stdlib/mallocr.c +++ b/newlib/libc/stdlib/mallocr.c @@ -1936,8 +1936,8 @@ static void do_check_malloced_chunk(p, s) mchunkptr p; INTERNAL_SIZE_T s; { \ BK = P->bk; \ FD = P->fd; \ - if (FD) FD->bk = BK; \ - if (BK) BK->fd = FD; \ + FD->bk = BK; \ + BK->fd = FD; \ } \ /* Place p as the last remainder */ -- cgit v1.2.3