From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro - problem when re-running a program Date: Sat, 29 Aug 1998 15:25:30 -0300 Organization: NBTel Internet Lines: 15 Message-ID: <35E8479A.53E29D2@unb.ca> References: <6s6in9$3cf$1 AT news4 DOT isdnet DOT net> NNTP-Posting-Host: fctnts12c03.nbnet.nb.ca 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 Precedence: bulk JCx wrote: > Another question 'bout Allegro: I wrote a program which works well the first > time I run it. The problem is, if I go back to DOS, and then run the program > again, it crashes when trying to create a 2000x2000 memory bitmap. I suspect > this is because the program doesn't free memory when exiting the first time. > Any idea ? ALL memory from DJGPP programs (other than stuff allocated by ??_get_dos_memory) is deallocated when the program terminates. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca