From: "Chris Massey" <[EMAIL PROTECTED]>
> So I get memory leaks when exiting my app on the emulator.  When I call
> MemPtrFree to free the ptrs allocated with MemPtrNew I get a big fat
error.
> But without it I get leaks !!  What the **** is going on ?  Help !!
>
Off the top of my head:
- check to make sure that the 'Free' routine isn't being
  called twice (or set the pointers to NULL after freeing
  and test for NULL before freeing so that it won't fail
  if you do call it twice).
- Make sure that those pointers definitely were allocated
  using MemPtrNew, and aren't handles or locked database
  records.

Chris Tutty


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

Reply via email to