Date: Tue, 20 Jun 1995 09:20:09 -0400 From: kagel AT quasar DOT bloomberg DOT com To: jips AT sol DOT unizar DOT es Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Counting Memory Problem Reply-To: kagel AT ts1 DOT bloomberg DOT com Malloc allocates memory from DOS and virtual memory in 4K pages and then manages the user sized blocks you allocate within these pages. When you free you are only returning blocks withing pages to the malloc free pool not to DPMI.