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"));
       }
   }
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to