I have created a chatting application where I am using a form with a Multi-line Non-editable field to show the messages and a Multi-line Editable field to input the message to be sent.
I'm using Text Handle for both fileds and resizing the non-editable field for displaying the received messages. Now there is some Memory leak somewhere, and the emulator trace shows that the memory leak is somewhere in "ExpandTextString" function which is some internal OS function call. Them emulator trace is as follows : Relocatable chunk leaked at 0x000053F6, size = 16 0.015: Chunk allocated by: 0.015: ExpandTextString 0.015: InsertChar 0.015: FldHandleEvent 0.015: FrmHandleEvent 0.015: PrvSendEventToForm 0.015: FrmDispatchEvent 0.015: EventLoop 0.015: PilotMain 0.015: <Unknown @ 0x0008225A> 0.015: Chunk contents: 0.015: 68 69 69 69 00 03 C4 C4 41 00 00 00 00 00 00 02 hiii....A....... Can someone pls help me how do i avoid this memory leak as this is very crutial for my messaging application as this is created for every messsage i send thru the edit field. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
