Xref: news2.mv.net comp.os.msdos.djgpp:3674 From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: calloc() and free() - help! Date: Fri, 10 May 1996 15:55:07 +0200 Organization: TU Chemnitz-Zwickau Lines: 17 Message-ID: <31934ABB.2595@Mathematik.tu-chemnitz.de> References: <3193289D DOT 6BEA AT algonet DOT se> NNTP-Posting-Host: zombie.hrz.tu-chemnitz.de 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 Rikard Thunberg wrote: > > I'm using MSDOS/WIN95. > If I use calloc() to allocate memory I have to > release the memory with free() before my program quit, right? > No. If you quit your program, all memory, which was allocated by it, is automaticly freed. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************