CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2010/01/01 13:30:25

Modified files:
        usr.sbin/dhcpd : alloc.c dhcpd.h hash.c memory.c tree.c 

Log message:
Wrappers around a wrapper around free() are of no more use than
wrappers around wrappers around calloc().

The purpose of the free() wrapper is to generate an error message
when free'ing NULL. But free_hash_bucket(), free_lease(), and
free_tree() are all called immediately after dereferencing the
pointer to be freed. Thus the error message will never be issued.

Reply via email to