summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sj-main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sj-main.c b/src/sj-main.c
index 0940d26..8663115 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -957,11 +957,12 @@ static char *format_release_details (AlbumDetails *album)
* found in musicbrainz online database, it corresponds to
* "Released on <label>" */
details = g_strdup_printf (_("Released on %s"), label_text->str);
-
} else {
details = _("Release label, year & country unknown");
}
- g_string_free (label_text, TRUE);
+
+ if (album->labels)
+ g_string_free (label_text, TRUE);
return details;
}