Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!sumax!amc-gw!nwnexus!intek01!mark From: mark@intek01.UUCP (Mark McWiggins) Newsgroups: comp.sys.mac.programmer Subject: A Better malloc()? Keywords: autofree Message-ID: <214@intek01.UUCP> Date: 12 Jul 89 02:23:19 GMT Organization: Integration Technologies Inc. (Intek), Bellevue WA Lines: 20 We have a couple of applications that we've moved over from the Unix/DOS world that do a lot of memory allocation. They don't free up what they've allocated on exit, since Unix and DOS both get that back automatically. Of course, this is a problem on the Mac since (as I understand it) MPW's malloc() allocates a nonrelocatable block that just sticks there forever until explicitly deallocated. Has somebody reimplemented malloc() to work more smoothly in the Mac world? What I want is a free_everything() call to use when I exit. Any pointers to this (no pun intended) would be GREATLY appreciated. Thanks in advance, Mark McWiggins Integration Technologies, Inc. (Intek) 1400 112th Ave. SE #202 Bellevue WA 98004 (206) 455-9935 uunet!intek01!mark