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 735092 - Use g_slist_free_full() to free lists
Use g_slist_free_full() to free lists
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-20 10:23 UTC by Phillip Wood
Modified: 2014-09-01 14:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use g_slist_free_full() to free lists (1.33 KB, patch)
2014-08-20 10:23 UTC, Phillip Wood
committed Details | Review

Description Phillip Wood 2014-08-20 10:23:03 UTC
Rather than using g_slist_foreach() followed by g_slist_free() to free
a list and it's data just call g_slist_free_full().
Comment 1 Phillip Wood 2014-08-20 10:23:05 UTC
Created attachment 283958 [details] [review]
Use g_slist_free_full() to free lists
Comment 2 Bastien Nocera 2014-08-21 10:28:46 UTC
Review of attachment 283958 [details] [review]:

Looks good
Comment 3 Phillip Wood 2014-09-01 14:24:19 UTC
Thanks for the review.
Attachment 283958 [details] pushed as bd15906 - Use g_slist_free_full() to free lists