>> How can i free the allocatted memory?
This seems to crop up quite a lot.
Basically, every time you use MemPtrNew you should call MemPtrFree at a later 
time.
In your case once you're finished with the list, or before reloading it, if it 
changes regularly, it should be as simple as;
for(i=0;i<num;i++)
{
        MemPtrFree(ReadPtr1[i]);
}
Regards
John

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date: 07/12/2006 
13:31
 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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

Reply via email to