[gclist] C realloc/free semantics with conservitave GC.

Nick Barnes nickb@harlequin.co.uk
Mon, 03 Jun 1996 15:12:46 +0100


> 	This allows the ugly but official
> 		for (p = root; p; p = p->next)
> 			free(p);
> 
> I don't understand.  What do you mean "official"?  This is not legal
> standard C.

No, but it was supported by the description of 'free' in K&R. For many
years, that made it "official".

Nick B