From: Esa A E Peuha Newsgroups: comp.os.msdos.djgpp Subject: Re: Memory allocation - Help!?! Date: 20 Aug 1999 12:56:43 +0300 Organization: University of Helsinki Lines: 17 Message-ID: <86pzozm4vxg.fsf@sirppi.helsinki.fi> References: NNTP-Posting-Host: sirppi.helsinki.fi X-Trace: oravannahka.helsinki.fi 935143003 10780 128.214.205.27 (20 Aug 1999 09:56:43 GMT) X-Complaints-To: usenet AT news DOT helsinki DOT fi NNTP-Posting-Date: 20 Aug 1999 09:56:43 GMT X-Newsreader: Gnus v5.6.43/Emacs 19.34 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii writes: > On 18 Aug 1999, Keith McCormick wrote: > > Also, should I manually free the physical_address_mapping or does to DJGPP > > startup fragment do this at program termination? > You should do it manually. The startup/exit code only releases memory > and those resources that it itself allocated. Strictly speaking, the DPMI host should free any physical address mappings not freed by the client, but it's a good practise not to rely on that. -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/