Why there's still ONE element left after g_slist_free () ?
- From: PenT <pentie gmail com>
- To: gtk-list gnome org
- Subject: Why there's still ONE element left after g_slist_free () ?
- Date: Wed, 13 May 2009 14:34:35 +0800
I created a GSList and then free it using g_slist_free (), then I call g_slist_length() and it return 1, surprising!
I thought after g_slist_free (), the GSList should be empty(NULL), why still 1 left?
] [Thread Prev