www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/25/07:51:46

Date: Wed, 25 Mar 1998 15:51:33 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Olivier Perron <perron AT art DOT alcatel DOT fr>
cc: djgpp AT delorie DOT com
Subject: Re: flex never frees some buffers !?
In-Reply-To: <Pine.GSO.3.96.980325132049.22281B-100000@rtbsci143s>
Message-ID: <Pine.SUN.3.91.980325154950.28802K-100000@is>
MIME-Version: 1.0

On Wed, 25 Mar 1998, Olivier Perron wrote:

> Just to know, so that I can't do any mistakes any more: is this behaviour
> typical to DJGPP programs + CWSDPMI or is it a normal behaviour for any
> programs (not only DJGPP ones) and with any DPMI providers (like Windows).

DOS memory (below 1MB mark) is freed automatically by DOS.  Memory above 
1MB needs to be freed by the same method that you allocated it.  For 
DJGPP programs, CWSDPMI and the startup/exit code do that, so your code 
doesn't have to.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019