Hi everybody,

In the FormHandleEvent function, i used the following codes, when the form
can be closed correctly and return to the main form of the project. but if i
exit the application, "memory leak" occured. If I delete the frmCloseEvent
codes in this form, it works well. Who can tell me the reason?
I have to use this event, because i have to free some memory which were
allocated during the form runing.

// the frmCloseEvent codes
case frmCloseEvent:
   frmP = FrmGetActiveForm();
   FrmEraseForm(frmP);
   handled = true;
   break;


thanks a lot!
fan



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

Reply via email to