Why there's still ONE element left after g_slist_free () ?

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

 



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?
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux