Tom, > Since no operation is performed when free(3) is used on NULL, remove > the checks.
for what it's worth, i'd probably code with the checks, so as to avoid future code editors (including myself) doing a double-take, thinking, "hmm, did the author consider that case?". (though, of course, you did that same -- if opposite -- double-take when you saw that code.) cheers, Greg
