On 5/25/2012 3:33 AM, Jakob Bohm wrote:

ANSI C and POSIX free() is NOT required to handle free(NULL)
as a NOP.

I checked reputable sources (Plauger, Harbison and Steele, the ANSI spec, and the IEEE POSIX spec).

All agree that (e.g. ANSI)

"If ptr is a null pointer, no action occurs."



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to