> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> i checked the heap memory before and after calling PilotMain.
> i allocate dynamic memory in only [one instance].
> To my surprse the two values were different!!
> i concluded  there is a memory leak.  but where is it??

The OS can allocate dynamic memory too.  Off the top of my head:

- FrmInitForm: do you call FrmDeleteForm as needed?
- Clipboard:   do you cut/copy in any fields in your app?

Also, using POSE and a 3.5 debug ROM, does it report a memory leak when your
app exits?  The "form leak" above would generate a memory leak message but
the clipboard usage would not.

-slj-


-- 
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