home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14796 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.1 KB  |  24 lines

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