Eric,

I had a similar problem recently.  A program I had written years ago got
these complaints in the newest emulator.  I solved it by including:

    FrmCloseAllForms();

in my stop application function.  Something I should have done all along,
but did not realize I hadn't until recently.  Perhaps this is your problem.

/Paul

----- Original Message -----
From: "Eric Marsh" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 18, 2003 5:54 AM
Subject: Memory leaks


>
> Hello,
>
> I'm coding a project using GCC.  At this point when I exit from my
> program in the Palm OS Emulator I'm getting a string of memory leaks.
>  From what I can tell many if not all of the leaks are coming from
> resources. Some of them I really have no idea about since I don't
> recognize anything on the stack. (I've attached a log file).
>
> My question is, am I responsible for cleaning up these leaks or is it
> something I should just live with and let the system clean things up
> when my app exits? Also, when I set up a callback is that using memory
> that I need to free?
>
> Eric


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

Reply via email to