how to free GList

2006-09-12 Thread shibu Alampatta
Hi all, Pls see the below code structure. how to free the glist at the indicated place? GList * glist=NULL; for(i=0;in;i++) g_list_append(glist,a[i]); // some processing //here want to free the glist Thks in advance.. Shibu ___ gtk

Re: how to free GList

2006-09-12 Thread Vivien Malerba
On 9/12/06, shibu Alampatta [EMAIL PROTECTED] wrote: Hi all, Pls see the below code structure. how to free the glist at the indicated place? GList * glist=NULL; for(i=0;in;i++) g_list_append(glist,a[i]); // some processing //here want to free the glist g_list_free

Re: how to free GList

2006-09-12 Thread Yash Kumar Gupta
see the below code structure. how to free the glist at the indicated place? GList * glist=NULL; for(i=0;in;i++) g_list_append(glist,a[i]); // some processing //here want to free the glist Thks in advance.. Shibu ___ gtk-app