how do you know 'free' freed?

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Oct 14 13:12:04 AEST 1989


In article <5521 at hacgate.UUCP> howard at aic.dpl.scg.hac.com (Mike Howard (213)317-5690) writes:
>There must be some way to confirm free.

No, in general free() always works (assuming you have given it a valid
pointer that was malloc()ed) and there is no point in trying to see if
it worked.



More information about the Comp.lang.c mailing list