diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-08-27 22:56:25 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-27 22:59:09 -0700 |
commit | c3acecd70808dc38807f4e9ae075d14d82cdb4a7 (patch) | |
tree | 9e61f93f5d3df1c2dd3714bde6525147737919e9 /src/dbUtils.c | |
parent | 407cefe8e1cead36129425a324629192e06f974d (diff) | |
download | mpd-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 'src/dbUtils.c')
0 files changed, 0 insertions, 0 deletions