I had the same "issue" a while back.  To make sure it was the menu that was
using the extra memory, I did the following before the leak check.

      #if ERROR_CHECK_LEVEL == ERROR_CHECK_FULL
        {
          MenuBarPtr menu = MenuGetActiveMenu( );
          if ( menu != NULL )
              MenuDispose( menu );
        }
      #endif

Hope this helps.

-Paul

> -----Original Message-----
> From: Fawcett, Mitch [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 04, 1999 12:16 PM
> To: 'PalmDevForum'
> Cc: Fawcett, Mitch
> Subject: Memory leak test & menus
>
>
> I've gotten my first "real" finished application to pass the
> million gremlin
> mark.  It also passes the memory leak test except in one
> circumstance I know
> of.  If I have any of my dropdown menus showing and then tap one of the
> built-in application keys to exit my program, the memory leak code in my
> PilotMain function will say I have a leak.  Can anyone explain
> what's going
> on? and do I need to worry about it?
>

Reply via email to