Mail Archives: djgpp/1998/03/25/07:51:46
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 -