From: DINH V. H. <din...@fr...> - 2006-02-04 15:10:52
|
Daniel wrote : > struct mailimap=5Fset * set; > struct mailimap=5Ffetch=5FType * fetchType; > clist * result; > clistcell * current; > int last; > int r; >=20 > last =3D imapstruct->imap=5Fselection=5Finfo->sel=5Fexists; > set =3D mailimap=5Fset=5Fnew=5Finterval( 1, last ); /* Index start mit = 1=21=21=21=21 */ > fetchType =3D (struct mailimap=5Ffetch=5FType *)mailimap=5Ffetch=5Ftype= =5Fnew=5Fall( ); > r =3D mailimap=5Ffetch( imapstruct, set, fetchType, &result ); > mailimap=5Fset=5Ffree( set ); > mailimap=5Ffetch=5Ftype=5Ffree( fetchType ); >=20 > clist=5Ffree(result); you have to use the following function : void mailimap=5Ffetch=5Flist=5Ffree(clist * fetch=5Flist); --=20 DINH V. Hoa, =22c'est stressant comme taf=22 -- coin |