Re: freeing NULL pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John (Eljay) Love-Jensen wrote:
As I understand how free() works, passing in a NULL pointer is undefined behavior.

Doesn't C99 (7.20.3.2) says passing NULL to free() just does nothing?
The draft I have says so. So does a "man free" on my host.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux