mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2003-02-18 Earnie Boyd <earnie@users.sf.net>
* libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer with a NULL value.
This commit is contained in:
parent
872173c8be
commit
b1ca765e84
@ -1,3 +1,8 @@
|
||||
2003-02-18 Earnie Boyd <earnie@users.sf.net>
|
||||
|
||||
* libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
|
||||
with a NULL value.
|
||||
|
||||
2003-02-10 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
|
||||
|
@ -1936,8 +1936,8 @@ static void do_check_malloced_chunk(p, s) mchunkptr p; INTERNAL_SIZE_T s;
|
||||
{ \
|
||||
BK = P->bk; \
|
||||
FD = P->fd; \
|
||||
FD->bk = BK; \
|
||||
BK->fd = FD; \
|
||||
if (FD) FD->bk = BK; \
|
||||
if (BK) BK->fd = FD; \
|
||||
} \
|
||||
|
||||
/* Place p as the last remainder */
|
||||
|
Loading…
x
Reference in New Issue
Block a user