On Wed, Jan 26, 2000 at 08:52:08AM -0800, David Fedor wrote:
> Ron is right that calling FrmCloseAllForms() at the end of your app is
> necessary (in normal circumstances) to prevent a memory leak.
>
> However, there are plenty of other ways to create a memory leak! Any time
> you allocate memory, or have something else allocate memory for you, if it
> isn't freed up before your app quits then you'll get this message.
Ok, just for paranoia's sake, Palm OS *does* free application
memory when the app is stopped, correct? I have made a minor
change to my StopApplication () in order to free the "leaked" memory
and get rid of that debug message, however I had never wanted to
waste time by doing so in the assumption that it will be freed anyway.
I suppose it's not too big a deal. <shrug>
--frank
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html