"Karanjit Siyan" <[EMAIL PROTECTED]> wrote in message
news:52491@palm-dev-forum...
>
> I am developing an app for the palm that I am debugging using the POSE
3.2
> I get memory leak errors even when I have reduced the code down to a
small
> stub. I have several global data structures declared using 'static'.
Does
> any one know if global data gets moved around by the Palm OS. I get
the
> memory leak errors when I enter and immediately exit the
application... even
> though all I have done is display a form and nothing else.

If you built this app from the Palm OS 3.1 SDK stationery, then you need
to add a call to "FrmCloseAllForms()" to the AppStop() routine.  This
will cause the open forms to be properly closed, and their memory freed.
That could be the source of your leak.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to