Hello, You need to run the garbage collector to get the cclient to free the memory. To do the following code after you call mail_fetchbody_full().
// Run the garbage collection to free up memory in cclient mail_parameters(MailStream, SET_GETS, nil); mail_gc(MailStream, GC_TEXTS); On 12/10/2002 at 7:12 PM Guillaume Vaillant wrote: >Hello, >I'm a new user of the c-client API and I need help to manage memory leaks >on >my application. >I use for example the mail_fetchbody_full function which return a (char *) >data. >I want to know if I have to free this pointed memory or not ? > >It's not the only one function for which i don't know who free the memory. >Where can i find help about that point >Does someone can help me ? > >Thank's >Guyom > >-- >------------------------------------------------------------------ > For information about this mailing list, and its archives, see: > http://www.washington.edu/imap/c-client-list.html >------------------------------------------------------------------