At 15:53 2003-6-4 -0500, Todd Niec wrote:
My program is "suddenly" giving me two memory leaks.  These appear to
have something to do with the display of the main form.   The form is
not marked to "save the bits behind" the form, which is what it almost
seems to be doing.  Coudl the be because I am closing the form "wrong"?
I am just calling FrmDeleteForm() on it, but this would occur after the
message loop has ended, so if there are more messages affecting the
window, they probalby won't be handled.  Could that have something to do
with it?

The log clearly shows that there is a form somewhere that has Save Behind set, and that isn't deleting that bitmap correctly when the form goes away.


BTW, why are you calling FrmDeleteForm? If you correctly call FrmCloseAllForms, you shouldn't need to do this except for dialogs that you init, show, then delete.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to