summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortmzullinger <tmzullinger@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2007-05-23 15:30:36 +0000
committertmzullinger <tmzullinger@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2007-05-23 15:30:36 +0000
commit1bb173b16e2ae5aa503c62e432e7c27d819f9f6d (patch)
treeb40743cc632dc1bc423808fd622a958972774e5c /src
parent69379efe2dcfc64bfc84b7116e90c2ebba891f70 (diff)
downloadlibgpod-1bb173b16e2ae5aa503c62e432e7c27d819f9f6d.tar.gz
libgpod-1bb173b16e2ae5aa503c62e432e7c27d819f9f6d.tar.xz
libgpod-1bb173b16e2ae5aa503c62e432e7c27d819f9f6d.zip
fix a potential crasher (Raymond Walsh)
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1438 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src')
-rw-r--r--src/itdb_itunesdb.c6
1 files changed, 3 insertions, 3 deletions
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"));
}
}