sound-juicer r2380 - in trunk: . libjuicer
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: sound-juicer r2380 - in trunk: . libjuicer
- Date: Sun, 21 Dec 2008 22:09:32 +0000 (UTC)
Author: jmatthew
Date: Sun Dec 21 22:09:32 2008
New Revision: 2380
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=2380&view=rev
Log:
2008-12-22 Jonathan Matthew <jonathan d14n org>
* libjuicer/sj-metadata-musicbrainz3.c: (mb_list_albums):
Handle mb_query_get_releases returning NULL, which indicates an error.
It doesn't tell us anything about the error, sadly. (Closes: #565056)
Modified:
trunk/ChangeLog
trunk/libjuicer/sj-metadata-musicbrainz3.c
Modified: trunk/libjuicer/sj-metadata-musicbrainz3.c
==============================================================================
--- trunk/libjuicer/sj-metadata-musicbrainz3.c (original)
+++ trunk/libjuicer/sj-metadata-musicbrainz3.c Sun Dec 21 22:09:32 2008
@@ -247,6 +247,11 @@
mb_release_filter_free (filter);
g_free (id);
+ if (results == NULL) {
+ mb_query_free (query);
+ return NULL;
+ }
+
if (mb_result_list_get_size (results) == 0) {
mb_result_list_free (results);
mb_query_free (query);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]