RE: odd dillemma

2004-05-12 Thread Ben Combee
At 03:09 PM 5/12/2004, you wrote: When using... if (gcNote != NULL) { MemPtrFree(gcNote); gcNote = NULL; } --- with palm os 3.5, I get a bus error on "gcNote = NULL;" It's likely the bus error is actually coming from MemPtrFree -- the debugger just shows PC at the l

RE: odd dillemma

2004-05-12 Thread Ornstein, Adam
ot; still leaves me confused.. Thanks! -Original Message- From: Ben Combee [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 3:39 PM To: Palm Developer Forum Subject: Re: odd dillemma At 01:51 PM 5/12/2004, you wrote: >Compatibility coding... > >I coded my apStop

Re: odd dillemma

2004-05-12 Thread Ben Combee
At 01:51 PM 5/12/2004, you wrote: Compatibility coding... I coded my appStop function to close all program pointers, however in the earlier OS's it needs to re-allocated with MemPtrFree(ptr). If I simply set it to NULL and delete it, an memory leak occurs. Calling MemPtrFree is "deallocating" m