Re: [PATCH] memory leak reported by valgrind
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Aug 9, 2010, 20:19 UTC
- Message-ID
- <AANLkTimrNv0VT_Nrmz_R0sFbL8QfMKPQjXhVJD95=KbE@mail.gmail.com>
- In-Reply-To
- <7v1va760ip.fsf@alter.siamese.dyndns.org>
On Mon, Aug 9, 2010 at 9:37 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Thanks, but doesn't it essentially sit at the end of main(), only for _exit(2) > to clean after us?
I don't know if you consider this relevant, but in Windows 9x (and ME) allocated memory isn't returned to the global heap on process termination unless explicitly free'd.