are you using MemPtrFree for all the MemPtrNew's you use? I can't really tell from the snippet of code you have there.
Generally I'd suggest taking a look at the size of the chunks that are being leaked and if you can take a look at the contents of them. If you're familiar with your data, you may be able to pinpoint the line(s) that are leaking. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
