aboutsummaryrefslogtreecommitdiffstats
path: root/src/list.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-08-27 22:56:25 -0700
committerEric Wong <normalperson@yhbt.net>2008-08-27 22:59:09 -0700
commitc3acecd70808dc38807f4e9ae075d14d82cdb4a7 (patch)
tree9e61f93f5d3df1c2dd3714bde6525147737919e9 /src/list.c
parent407cefe8e1cead36129425a324629192e06f974d (diff)
downloadmpd-c3acecd70808dc38807f4e9ae075d14d82cdb4a7.tar.gz
mpd-c3acecd70808dc38807f4e9ae075d14d82cdb4a7.tar.xz
mpd-c3acecd70808dc38807f4e9ae075d14d82cdb4a7.zip
playlist: fix deleting the last song in a playlist
unK reported a bug in which explicitly calling "delete" on each song would cause mpd to lock up. This is actually triggered when the only song on the mpd playlist is deleted. Additionally, add an extra assertion to ensure we play a valid, non-NULL song in play_order_num().
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions