Hello
i allocated 1000 bytes of dynamic memory in my application;
the code is this
char * ptr = (char *) MemPtrNew (1000);
...
some statements..

MemPtrFree(ptr);

and i checked the heap memory before and after calling PilotMain.
(the above code is in some function.)
i allocate dynamic memory in only the above statement.

To my surprse the two values were different!!

afterwards i removed above allocation/de-allocation lines. and the two
values were again different.
i concluded  there is a memory leak.
but where is it??

Please clear my doubts.

Krishna



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

Reply via email to