I am getting this error when exiting my App.
UIAppShell (unknown version) called SysFatalAlert with the message:
"SystemMgr.c, Line:4839, Minor error found while exiting app, un-freed
chunk at 0x003A710 (ownerID 2)".
I have narrowed this down to a Button with a dynamically assigned Label. If
I assign the label at runtime I get the error. Otherwise I don't. Here is
my code for assigning the label.
CtlSetLabel((ControlPtr) FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP,
Button1)),strTmp);
Where strTmp is a char * pointing to a char array and Button1 is the index
of the button.
This happens even though I free the array after the form is destroyed, as
the UI requires with this function.
Does anyone know of a program that will find the location of a memory leak?
Any Help would be greatly appreciated. Thanks.
JakeSpeed
PS This is my first time posting so please be kind :)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
- Re: un-freed chunk jakespeed
- Re: un-freed chunk Steve Mann
- un-freed chunk KMoore
- Re: un-freed chunk Matt Graham
- Re: un-freed chunk KMoore
