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.

The warning message suggests to use "hd 0" to track down the leak.  Try
doing that - use the Console window in the CodeWarrior debugger, or in the
PalmDebugger application.  That'll show you what has been allocated.  You
can then hopefully figure out what object it was that you didn't clean up,
by looking at its contents.  Or use other standard debugging techniques to
track down where you're leaking memory.

This isn't a 3.5 issue; it is just that 3.5 is telling you of a leak that
might well have existed before.

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html.

Reply via email to