diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/itdb_itunesdb.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2007-05-23 Todd Zullinger <tmzullinger at users.sourceforge.net> + + * src/itdb_itunesdb.c (get_playlist): fix a potential crasher + (Raymond Walsh) + 2007-05-19 Jorg Schuler <jcsjcs at users.sourceforge.net> * src/itdb_itunesdb.c (playcounts_init): C&P error stat'ing the diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index d616829..c715fae 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -2103,13 +2103,13 @@ static glong get_playlist (FImport *fimp, glong mhyp_seek) { /* we did not read a valid mhod TITLE header -> */ /* we simply make up our own name */ if (itdb_playlist_is_mpl (plitem)) - plitem->name = _("Master-PL"); + plitem->name = g_strdup (_("Master-PL")); else { if (itdb_playlist_is_podcasts (plitem)) - plitem->name = _("Podcasts"); + plitem->name = g_strdup (_("Podcasts")); else - plitem->name = _("Playlist"); + plitem->name = g_strdup (_("Playlist")); } } |