The docs are pretty clear on this: the function doesn't copy the string you
pass, so you need to manage the memory yourself, freeing it when you know it
is no longer needed. The docs don't say whether you need to set the label to
NULL in order to keep it from being freed twice, but that's what I'd do if I
were making the control use a label I allocated myself.



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

Reply via email to