GNOME Bugzilla – Bug 735091
Replace g_list_deep_free() with g_list_free_full()
Last modified: 2014-09-05 10:08:36 UTC
Now that g_list_free_full() is in GLib we don't need to roll our own version. Also use g_list_free_full() rather than g_list_foreach() followed by g_list_free() to free a list and it's data.
Created attachment 283957 [details] [review] Replace g_list_deep_free() with g_list_free_full()
Review of attachment 283957 [details] [review]: Rest looks good. ::: libjuicer/rb-gst-media-types.c @@ +327,2 @@ ret = TRUE; + g_list_free_full (messages, (GDestroyNotify)gst_message_unref); I'd make the change in rhythmbox if necessary first, as it's a copy/paste file.
I've just checked in rhythmbox and it has never had rb_gst_check_missing_plugins() so there's nothing to change there (there are no calls to g_list_* in the whole file).
Thanks for the review. Attachment 283957 [details] pushed as 8c5bb72 - Replace g_list_deep_free() with g_list_free_full()