Robert Arkiletian wrote:
> ...
>  As far as my understanding goes, this means the programmer (me) just
> forgot to free the memory. The pointer to the unfreed memory still
> exists.

Reachable memory blocks are not leaked, and thus this is not a leak.

In general, you *don't* want to free memory that is used for the
life of the program when you exit, since a) that will slow program
shutdown and b) the OS reclaims all of the process's memory anyways.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to