Date: Tue, 31 Mar 1998 21:54:23 -0800 (PST) Message-Id: <199804010554.VAA22710@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Denis V.Sorokovik" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: malloc & free Precedence: bulk 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