From: "Denis V.Sorokovik" Newsgroups: comp.os.msdos.djgpp Subject: malloc & free Date: Tue, 31 Mar 1998 23:15:53 +0400 Organization: MAXnet Systems Lines: 10 Message-ID: <352140E9.D07CEE53@krona.obninsk.ru> NNTP-Posting-Host: indigo.maxnet.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Cache-Post-Path: indigo.maxnet.ru!unknown AT 194 DOT 67 DOT 99 DOT 142 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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? Sorry for my bad English, I'm from Russia.