repulled malloc.c from Snake2k :)