Ben & Keith, Thanks for the information. I haven't tracked down the bug yet, but this is helping in my process of elimination.
I'll probably find that my memory leak is caused by good old fashioned stupidity... but if I find anything worth noting I'll report back to this forum. Cheers, -Mark -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Keith Rollin Sent: Thursday, June 05, 2003 11:50 AM To: Palm Developer Forum Subject: RE: Memory problem and Zire debugging At 5:40 PM +0200 6/5/03, Armel Asselin wrote: > >I did not dig into your problem much but I find it strange that you do > >MemHandleNew >MemHandleLock >... >MemPtrFree Personally, I don't find this strange. It's what a lot of the built-in Palm OS applications do. >usually either you do: > >MemHandleNew >MemHandleLock >... >MemHandleUnlock >MemHandleFree > >or > ><snip> Personally, this is the one I find strange. I wouldn't bother to unlock a handle if I'm only going to free it in the next step. That's kind of like cleaning up the kitchen before burning down the house (or am I the only one who does that?). -- Keith -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
