From e59cd1d7ea0bedc1b4e39a1cfc2d1076eb17b322 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Wed, 23 May 2007 15:30:36 +0000 Subject: fix a potential crasher (Raymond Walsh) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1438 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/itdb_itunesdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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")); } } -- cgit