# HG changeset patch # User nenolod # Date 1165844825 28800 # Node ID 75100f6b216aa4aac7be0651cd039b0bdb4c75ef # Parent 25e91bba434d06f7e3256c7e25d6d0682a42733a [svn] - make sure &default_playlist (temporary construct) has full padding. probably won't help this, but it seems like it wont hurt, either. diff -r 25e91bba434d -r 75100f6b216a ChangeLog --- a/ChangeLog Mon Dec 11 05:29:44 2006 -0800 +++ b/ChangeLog Mon Dec 11 05:47:05 2006 -0800 @@ -1,3 +1,11 @@ +2006-12-11 13:29:44 +0000 William Pitcock + revision [3197] + - avoid a crash + + trunk/audacious/playlist.c | 28 ++++++++++++++-------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + + 2006-12-11 13:09:02 +0000 William Pitcock revision [3195] - update playlist UI diff -r 25e91bba434d -r 75100f6b216a audacious/playlist.c --- a/audacious/playlist.c Mon Dec 11 05:29:44 2006 -0800 +++ b/audacious/playlist.c Mon Dec 11 05:47:05 2006 -0800 @@ -77,7 +77,11 @@ NULL, NULL, NULL, - NULL + NULL, + 0, + 0, + 0, + 0, }; /* If this is set to TRUE, we do not probe upon playlist add. @@ -863,7 +867,8 @@ g_return_if_fail(playlist != NULL); if (playlist->position) { - g_free(playlist->position->title); +/* XXX: what is playlist->position->title is not dup'd? */ +// g_free(playlist->position->title); playlist->position->title = g_strdup(title); playlist->position->length = length; }