MemPtrNew must be paired with MemPtrFree to release the memory. Use MemPtrFree when you are no longer in need of the memory before your program closes. If you need permanent storage, consider using preferences or databases. -- Timothy D. Kostka
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am gettin a memory leak message when i exit my application in POSE. > > Message: "Found (#) memory leak for MyApplicaion. Information concerning the leak can be found in the log file." > > I used MemPtrNew to allocate memory for a large struct. What could be the cause of this leak?? Any help in this matter will be greatly appreciated. Thank you. > > John > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
