[rrd-developers] [patch] typo in error message; remove superfluous checks to free(NULL)
Bernhard Fischer
rep.dot.nop at gmail.com
Fri May 18 17:48:04 CEST 2007
Hi,
1) cosmetic typo in error message
faild should read failed
2) null ptr checks for the arg of free() are superfluous. See
http://www.opengroup.org/onlinepubs/009695399/functions/free.html
which mandates that it's perfectly valid to free(NULL);
Please apply.
TIA and cheers,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool-1.2.23-svn.remove-superfluous-ptr-checks-for-free.diff
Type: text/x-diff
Size: 1780 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20070518/99b04612/attachment-0001.bin
More information about the rrd-developers
mailing list