Just a minor new twist on free()

Brian Matthews 6sigma2 at polari.UUCP
Tue Oct 2 13:17:31 AEST 1990


In article <7365 at darkstar.ucsc.edu> funkstr at ucscb.ucsc.edu (Larry Hastings) writes:
|#define smart_free(x) { if (x != NULL) { free(x); x = NULL; } }

A run-time solution to a compile-time problem.  Blecch.
-- 
Brian L. Matthews	blm at 6sceng.UUCP



More information about the Comp.lang.c mailing list