Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!mit-eddie!uw-beaver!sumax!amc-gw!thebes!polari!6sigma2 From: 6sigma2@polari.UUCP (Brian Matthews) Newsgroups: comp.lang.c Subject: Re: Just a minor new twist on free() Message-ID: <2528@polari.UUCP> Date: 2 Oct 90 03:17:31 GMT References: <7365@darkstar.ucsc.edu> Organization: Seattle Online Public Unix (206) 328-4944 Lines: 6 In article <7365@darkstar.ucsc.edu> funkstr@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@6sceng.UUCP