Date: Mon, 7 Oct 2002 15:04:59 --------------------------------------------------------------------------------
In API Reference page 356-357 provides details of how dynamic list is populated. But I cannot find any infomation anywhere about HOW to release memory for these type of lists. -----Original Message----- From: N Sent: Monday, October 07, 2002 1:20 PM To: Palm Developer Forum Subject: LIST MEMEORY LEAKS *Please correct me if you find any of my assumption wrong. I have this test application contains two forms. Both form contains a list which is populated from database on FrmOpenEvent. I have a function which allocates memory and populates data and Callback function to draw list. When I exit my application it gives me one memory leak, no matter how many times I toggle between these two forms. So I reached to a conclusion that FrmCloseEvent automatically realse the memory of a form if you are jumping to second form. I don't have any cleanup code on form close event. If I write code on FrmCloseEvent MemPtrFree(ListData) ; handled = false ; Application crashes when I try to jump to second form, if I exit application from first form I get no memory leaks and any crashes. Please help me understand this issue and suggest any solution. Thanks in advance. __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
