diff options
Diffstat (limited to 'newlib/libc/stdlib/mallocr.c')
-rw-r--r-- | newlib/libc/stdlib/mallocr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/mallocr.c b/newlib/libc/stdlib/mallocr.c index fa22782..5e10457 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 */ |