From: <tmz...@us...> - 2007-05-23 15:30:38
|
Update of /cvsroot/gtkpod/libgpod/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv2294/src Modified Files: itdb_itunesdb.c Log Message: fix a potential crasher (Raymond Walsh) Index: itdb_itunesdb.c =================================================================== RCS file: /cvsroot/gtkpod/libgpod/src/itdb_itunesdb.c,v retrieving revision 1.96 retrieving revision 1.97 diff -u -d -r1.96 -r1.97 --- itdb_itunesdb.c 19 May 2007 02:10:14 -0000 1.96 +++ itdb_itunesdb.c 23 May 2007 15:30:36 -0000 1.97 @@ -2103,13 +2103,13 @@ { /* 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")); } } |