Path: utzoo!attcan!utgpu!watmath!att!bellcore!rutgers!gatech!uflorida!novavax!twwells!bill From: bill@twwells.com (T. William Wells) Newsgroups: comp.lang.c Subject: Re: effect of free() Message-ID: <1989Sep21.202156.4296@twwells.com> Date: 21 Sep 89 20:21:56 GMT References: <319@cubmol.BIO.COLUMBIA.EDU> <3756@buengc.BU.EDU> <1989Aug17.005548.745@twwells.com> <16022@vail.ICO.ISC.COM> <248@seti.inria.fr> <246@ssp1.idca.tds.philips.nl> <21952@cup.portal.com> <10983@smoke.BRL.MIL> <591@augean.OZ> Organization: None, Ft. Lauderdale, FL Lines: 13 In article <591@augean.OZ> writes: : It violates the law of least surprises to have variables suddenly made : inaccessable by being a call by value argument to a function. There is no such thing as "the law of least surprise". What is surprising to one person is unarguable common sense to another. I find it surprising that some fools think that the pointer must have any kind of validity after it is freed. Once freed it's GONE, folks. --- Bill { uunet | novavax | ankh | sunvice } !twwells!bill bill@twwells.com