From: Sami Kerola Date: Sat, 9 Apr 2011 15:38:54 +0000 (+0200) Subject: clean_up: checking errno at exit does not make sense X-Git-Tag: v2.15~3 X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=f6880ed5f48e1591007246760a64cfc33d5f1eb4;hp=f6880ed5f48e1591007246760a64cfc33d5f1eb4;p=debian%2Fdhcpd-pools.git clean_up: checking errno at exit does not make sense It seems that at least FreeBSD is setting errno when malloc is successful. There is a change that other operating systems will do similar things with same, or other system calls, and this will invalidate the idea of checking errno at exit. See also email list thread for further information. http://lists.freebsd.org/pipermail/freebsd-questions/2011-April/229150.html Reported-by: Roar Pettersen Signed-off-by: Sami Kerola ---