After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722326 - gstringchunk: Use g_slist_free_full() where possible
gstringchunk: Use g_slist_free_full() where possible
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-01-16 11:40 UTC by christian.h.m.schramm
Modified: 2014-01-17 01:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gstringchunk: Use g_slist_free_full() where possible (1.65 KB, patch)
2014-01-16 11:40 UTC, christian.h.m.schramm
committed Details | Review

Description christian.h.m.schramm 2014-01-16 11:40:30 UTC
We have that function, let's use it - instead of manually
freeing the elements of the slist in a loop (and reduce
the line count a bit).
Comment 1 christian.h.m.schramm 2014-01-16 11:40:32 UTC
Created attachment 266446 [details] [review]
gstringchunk: Use g_slist_free_full() where possible
Comment 2 Matthias Clasen 2014-01-17 01:25:42 UTC
Attachment 266446 [details] pushed as fabdf80 - gstringchunk: Use g_slist_free_full() where possible