fixing malloc and realloc so it return right value
authorMagnus Olsen <magnus@greatlord.com>
Sat, 3 Jun 2006 17:40:23 +0000 (17:40 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Sat, 3 Jun 2006 17:40:23 +0000 (17:40 +0000)
commit4eada6f8bd76108a67d8852158186cdeae8b6ebd
tree827e180c218e1db39b7291ae3cc7001af12e9c09
parentf895d5ab82cea1b4f2788f3b1233d5d94ba78f4a
fixing malloc and realloc so it return right value
do not mix the doc over malloc and realloc. Thanks filip
<filip2307> malloc(0) -> valid buffer
<GreatLord> then I revert that change
<filip2307> realloc(<non-null pointer>, 0) -> NULL
<filip2307> realloc(NULL, 0) -> valid buffer

svn path=/trunk/; revision=22197
reactos/lib/crt/stdlib/malloc.c