home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.utdallas.edu!corpgate!crchh327!crchh447!brunner
- From: brunner@crchh447.bnr.ca (James Brunner)
- Subject: Hacking Think_C Malloc, need big free!
- Message-ID: <1992Aug31.223642.1858@bnr.ca>
- Sender: news@bnr.ca (News on crchh327)
- Nntp-Posting-Host: crchh447
- Reply-To: brunner@crchh447.bnr.ca (James Brunner)
- Organization: Bell-Northern Research, Richardson, Tx
- Date: Mon, 31 Aug 1992 22:36:42 GMT
- Lines: 11
-
- Howdy, I'm working on a kludge where I am combining several UNIX utilities.
- Each of these allocates memory and it gets freed automatically at exit(0).
- I would like to be able to free all malloc-allocated memory between calls
- to these utils. I've looked at alloc.c but it's all in asm and hard to read.
-
- How can the library be modified to add a free_all routine?
- --
- ---------------------------------------------------------------------------
- Jim Brunner - (brunner@bnr.ca)
- All opinions are my own and have nothing whatsoever to do with BNR, NT,
- NTI, Bell Canada, or any of the BCE corporations or affiliates.
-