# HG changeset patch # User nenolod # Date 1165847124 28800 # Node ID 14f049193031682adb9d423cd738de96cac38081 # Parent 425963ded156bc0e241374c1a45020f4b2d76e7c [svn] - when clearing a playlist's entries, make sure to reset the playlist's linear entry list to NULL. additionally, set playlist->position to NULL as there is nothing to iterate. diff -r 425963ded156 -r 14f049193031 ChangeLog --- a/ChangeLog Mon Dec 11 05:49:54 2006 -0800 +++ b/ChangeLog Mon Dec 11 06:25:24 2006 -0800 @@ -1,3 +1,14 @@ +2006-12-11 13:49:54 +0000 William Pitcock + revision [3201] + - provide the old ABI for plugins (intermediate layer). + Pointed out by yaz, pointy hat to me. + + trunk/audacious/playlist.c | 26 ++++++++++++++++++++++++-- + trunk/audacious/playlist.h | 2 ++ + trunk/audacious/pluginenum.c | 2 +- + 3 files changed, 27 insertions(+), 3 deletions(-) + + 2006-12-11 13:47:05 +0000 William Pitcock revision [3199] - make sure &default_playlist (temporary construct) has full padding. diff -r 425963ded156 -r 14f049193031 audacious/playlist.c --- a/audacious/playlist.c Mon Dec 11 05:49:54 2006 -0800 +++ b/audacious/playlist.c Mon Dec 11 06:25:24 2006 -0800 @@ -297,6 +297,8 @@ if (playlist) { g_list_foreach(playlist->entries, (GFunc) playlist_entry_free, NULL); g_list_free(playlist->entries); + playlist->position = NULL; + playlist->entries = NULL; } PLAYLIST_UNLOCK();