how to free GList



Hi all,

Pls see the below code structure. how to free the glist at the indicated
place?

GList * glist=NULL;

for(i=0;i<n;i++)   g_list_append(glist,a[i]);

....
// some processing
....

//here want to free the glist



Thks in advance..
Shibu



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]