On Sat, 18 Oct 2008, Ivan Vucica wrote:
> On Sat, Oct 18, 2008 at 10:50, Vincent Torri <[EMAIL PROTECTED]> wrote: > > > On Sat, 18 Oct 2008, Ivan Vucica wrote: > >> Vincent, those sentences refer to a _*currently running_* application, not >> to a recently terminated. This paragraph implies that WindowsCE _does_ >> perform a cleanup. >> > > Then that doc is completely stupid. A memory leak occurs when the memory, > used by a program, is not totally freed by the program when it finishes. Of > course, a program uses memory when it is running. Of course, it can allocate > more and more memory during time, but it can do that because it *must* > allocate that mem (for a reason or another). > I disagree. See, "memory leak" refers when some portion of program is > repeatedly executed without freeing its memory. so, the case where the program gets informations continuously from internet and stores it in a single linked list, and the program does not free it (because it needs it during all its execution), except when it finishes, is considered as a mem leak ? It is a portion of program that is repeatedly executed without freeing its memory. It seems that we do not have the same definition of memory leak :) Vincent ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel