www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/01/02:48:46

Date: Tue, 31 Mar 1998 21:54:23 -0800 (PST)
Message-Id: <199804010554.VAA22710@adit.ap.net>
Mime-Version: 1.0
To: "Denis V.Sorokovik" <den AT krona DOT obninsk DOT ru>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: malloc & free

At 11:15  3/31/1998 +0400, Denis V.Sorokovik wrote:
>Here is my problem. I write program, that works with memory arrays and
>allocates arrays dynamically. I'm calling malloc(size), working with
>array, then freeing (free(ptr)). dpmi function
>__dpmi_get_free_memory_information says, that largest available free
>block in bytes didn't increases in size, when I freed array, and
>total_number_of_free_pages decreased too. I use DJGPP 2.01, cwsdpmi 4.
>Can anybody helps me with this question?

See FAQ section 15.2.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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