home *** CD-ROM | disk | FTP | other *** search
- Path: felix.teclink.net!usenet
- From: rad@teclink.net (rad)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Must I free my linked lists? (GCC)
- Date: 31 Jan 1996 02:14:33 GMT
- Organization: TECLink Internet Services: info@TECLink.Net
- Message-ID: <867.6603T1206T1431@teclink.net>
- References: <volker.0eqv@vb.franken.de>
- NNTP-Posting-Host: tc1_1.teclink.net
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
-
- >Jochen Wiedmann (jochen@neckar-alb.de) wrote:
-
- >: You can be sure, if
- >:
- >: 1.) You are using a version of malloc(), that isn't broken.
- >: The malloc() coming with your C compiler can be assumed
- >: to work fine.
-
- >Probably all Amiga C libraries have a malloc() that frees all memory
- >after program termination, but no C compiler is required to do it.
-
- The ANSI-C standard requires it. Any C compiler that doesn't free malloc()
- memory on exit isn't worth a darn.
-
- --------------------------------------------------------------------------
- - Richard Deken E-Mail: (personal) rad@teclink.net -
- - VLSI design engineer (AuE business) rad@aue.com -
- - Advanced Microelectronics PGP public key available -
- --------------------------------------------------------------------------
-
-