> I am gettin a memory leak message when i exit my application in POSE. 
> Message: "Found (#) memory leak for MyApplicaion. Information concerning 
> the leak can be found in the log file."
> I used MemPtrNew to allocate memory for a large struct. What could be 
> the cause of this leak?? Any help in this matter will be greatly appreciated.
> Thank you.

as of palmos 3.5 - you need to call FrmCloseAllForms() otherwise, some
memory used to initialize your forms isn't cleaned up correctly :) that
is, of course, if you are 100% sure you have matched every MemPtrNew
with a MemPtrFree call :)

---
Aaron Ardiri
PalmOS Certified Developer
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php


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

Reply via email to