Xref: news2.mv.net comp.os.msdos.djgpp:7343 From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: malloc and free question Date: Thu, 15 Aug 1996 18:28:05 -0700 Organization: Alcyone Systems Lines: 13 Message-ID: <3213CEA5.562A40BF@alcyone.com> References: NNTP-Posting-Host: annex-p134.meer.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp J.J. Pierson wrote: > This is probably more of a general C question, but since I'm using DJGPP, > I figured I'd ask it here in case DJGPP handles it a specific way. > If I use malloc, do I have to use free to free the memory for them when I > quit the program, or does it do that automatically? Thanks in advance. Many people consider it good style (including me), but it is not necessary. -- Erik Max Francis, &tSftDotIotE http://www.alcyone.com/max/ max AT alcyone DOT com San Jose, California ICBM 37 20 07 N 121 53 38 W R^4: the 4th R is respect War's a game which were their subjects wise/Kings would not play at. -- Cowper