David Beers wrote: > > Uh, forget that part about the system disposing of the field memory in a > FrmReturnToForm(). I know better, and yes, I am calling > FldSetTextHandle(field, 0) on the ctlSelectEvents that close my modal form. > Still getting the leak, though.
Did you explicitly free the Field's text handle before calling FrmReturnToForm? FldSetTextHandle(field, NULL) won't (and can't) free it for you. (Alternatively, I think FrmDeleteForm should be able to free the Field's text handle for you if it weren't already set to NULL.) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
