Subj : Re: malloc() To : borland.public.cpp.borlandcpp From : Jan Vernimmen Date : Wed Jun 23 2004 06:08 pm Ed, Thanks for your comment. As a matter of fact I do not test every malloc (I feel sorry to tell) but what do I do if it returns NULL? Thust repeat the malloc() in a loop until it returns a non-zero value? I was at the point to take a deep breath and rewrite everything using new() and delete() where I'm using malloc() and free() now. Jan. Ed Mulroy [TeamB] wrote: > Check for a NULL return from malloc. > > . Ed > > >>Jan Vernimmen wrote in message >>news:40d85753@newsgroups.borland.com... > > > .