Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!udel!new From: new@udel.edu (Darren New) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice 5.04 problem with free() Message-ID: <2933@nigel.udel.EDU> Date: 30 Oct 89 21:27:22 GMT References: <36769@srcsip.UUCP> <1989Oct30.062445.1759@agate.berkeley.edu> Sender: usenet@udel.EDU Reply-To: new@udel.edu (Darren New) Organization: University of Delaware Lines: 8 In article <1989Oct30.062445.1759@agate.berkeley.edu> mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) writes: >My copy of the dpANS C standard and of K&R 2 both show free as being >void. The 5.02 docs show free as being an int, with an error if the >block wasn't freed. Why would a free request fail? Or do you mean that it fails if you attempt to free NULL or non-malloced memory or something? -- Darren