This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] setup.exe: removes some memory leaks from fromcwd.cc


On Tue, 2001-11-06 at 03:50, Christopher Faylor wrote:
...
> >I'm really not worried about cleaning up globals at exit - I'm much
more
> >warried about cleaning up globals as we go, or as we change from dialog
> >to dialog. Exit is a trapdoor, so it cannot be a 'problem'.
> 
> Since the memory is going to be freed on exit anyway, I don't see any reason
> to go to great lengths to invent a system for freeing it.
> 
> setup.exe is a short-lived program.  We should be good about freeing up memory
> that we use because that's good programming but I don't think we have to
> invent some kind of garbage collection system to deal with this.

I think we are agreeing again, no?

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]