I can confirm it at least on MAC OS X and Linux. Based on IEEE Std 1003.1-2008, if the argument of the free function is null, no action should occur. So I guess most POSIX compliant environments support the NULL argument.

  george.

On Feb 17, 2009, at 13:01 , Jeff Squyres wrote:

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?

--
Jeff Squyres
Cisco Systems

_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel

Reply via email to