Hello, * Jeff Squyres wrote on Tue, Feb 17, 2009 at 07:01:01PM CET: > On Feb 17, 2009, at 11:18 AM, George Bosilca wrote: > >> I guess that if the free function supports the NULL pointer we should >> do the same... > > I'll agree with that if we know for sure that free(NULL) is universally > supported. You mentioned "a few man pages" -- how universal is this > support?
The Cray T3E used to barf on free(NULL). I haven't personally encountered anything since. C89 requires it to work, and GNU software generally assumes it to work since a couple of years. Cheers, Ralf