On 8 mrt 2006, at 18:19, Micha Nelissen wrote: >>> Shouldn't ReallocMem in CMem zero the newly allocated bytes ? >> >> No, it is the responsibility of the programmer. > > Nope. At least the compiler depends on it being zeroed. Where? It's a bug if it does. > The FPC heap > manager zeroes it, as well. It shouldn't need to do that. Jonas