You are returning a pointer to memory you have just free'd.  Won't this be a
problem?

-Ken


> ----------
> From:         Tim Astle[SMTP:[EMAIL PROTECTED]]
> Reply To:     Palm Developer Forum
> Sent:         Tuesday, April 25, 2000 9:12 AM
> To:   Palm Developer Forum
> Subject:      Adding Strings - function problem
> 
> 
>      // Free memory
>      MemPtrFree(lstr);
>      MemPtrFree(strResult);
> 
>      return(strResult);
> }
> 
> 
> 
> --
> 
> Tim Astle
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palm.com/devzone/mailinglists.html
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to