Optimize g_[s]list_free_full a bit
authorMatthias Clasen <mclasen@redhat.com>
Mon, 11 Jul 2011 00:42:58 +0000 (20:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 Jul 2011 00:42:58 +0000 (20:42 -0400)
commit98b667d052b1274f80b8898a32d0753e9e2e5c1a
treeb4050625f39621d8471768228a31447b59c7b95e
parent182ed958618a098895eb07959c0fb77eb5dcd13c
Optimize g_[s]list_free_full a bit

No need to iterate the list twice.
Proposed by Luiz Augusto von Dentz,
http://bugzilla.gnome.org/show_bug.cgi?id=653935
glib/glist.c
glib/gslist.c