GNOME Bugzilla – Bug 753508
Code cleanups
Last modified: 2015-08-17 13:12:56 UTC
Various code cleanups
Created attachment 309064 [details] [review] Remove SjMetadataMusicbraniz5Private.discid priv->discid is only used in list_albums() and currently it is leaked if list_albums() is called more than once.
Created attachment 309065 [details] [review] Remove ignore_no_media parameter from reread_cd() This wasn't being used consistently, reread_cd() already checks to see if there is an audio CD in the drive and fails silently if there isn't.
Created attachment 309066 [details] [review] Cleanup metadata_cb() Use g_clear_pointer() where we can and try to make the logic clearer.
Attachment 309064 [details] pushed as 2d924f0 - Remove SjMetadataMusicbraniz5Private.discid Attachment 309065 [details] pushed as e0159dc - Remove ignore_no_media parameter from reread_cd() Attachment 309066 [details] pushed as 9daeab5 - Cleanup metadata_cb()