No. The system will take care of freeing the command parameter block in this
case. However, you don't need to bother with all this fancy memory
management for sub-launches (SysAppLaunch).
--
Danny Epstein
OS Engineer, Palm Inc.



"Anthony Randazzo" <[EMAIL PROTECTED]> wrote in message
news:38423@palm-dev-forum...
> Should I free memory for MemPtrNew() ?
>
> urlStr = MemPtrNew(StrLen(url) + 1);
>
> StrCopy(urlStr,url);
>
>  MemPtrSetOwner(urlStr, 0);
>
> err = SysUIAppSwitch(cardNo, dbID,
>     sysAppLaunchCmdGoToURL, urlStr);
>
>
>
>


-- 
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