This is the mail archive of the email@example.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: malloc and free mixing in VC++ and cygwin
- To: Chris Faylor <firstname.lastname@example.org>
- Subject: Re: malloc and free mixing in VC++ and cygwin
- From: Mumit Khan <email@example.com.EDU>
- Date: Thu, 29 Apr 1999 09:59:28 -0500
- cc: cygwin <firstname.lastname@example.org>
Chris Faylor <email@example.com> writes:
> You could use these routines to free the memory but you'd end
> up with a severely corrupted heap as far as cygwin is concerned.
> Cygwin's free() command does more than (potentially) return memory
> to the system. In fact, it usually doesn't even return memory to
> the system. It also keeps a list of all allocated memory for reuse
> by other malloc calls. This is a pretty standard way of doing things.
Thanks for the clarification. I missed the ramifications.
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org