Re: Problem with use of memory
DINH Viet Hoa <[email protected]> Sat, 4 Feb 2006 16:10:09 +0100
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <etPan.43e4c3d1.32fcafe5.f4b@utopia> |
Daniel wrote : > struct mailimap_set * set; > struct mailimap_fetch_Type * fetchType; > clist * result; > clistcell * current; > int last; > int r; > > last = imapstruct->imap_selection_info->sel_exists; > set = mailimap_set_new_interval( 1, last ); /* Index start mit 1!!!! */ > fetchType = (struct mailimap_fetch_Type *)mailimap_fetch_type_new_all( ); > r = mailimap_fetch( imapstruct, set, fetchType, &result ); > mailimap_set_free( set ); > mailimap_fetch_type_free( fetchType ); > > clist_free(result); you have to use the following function : void mailimap_fetch_list_free(clist * fetch_list); -- DINH V. Hoa, "c'est stressant comme taf" -- coin
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBD5MPy7w+pfAWHa3MRAlVoAJ9YaOqJANLMXQxJTJ0+twJO/LxS+ACeM/pU cPsx8UD3Aa7rGTbOZd5KYZQ= =8865 -----END PGP SIGNATURE-----