summaryrefslogtreecommitdiff
path: root/src/timer.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-14 11:41:22 +0100
committerMax Kellermann <max@duempel.org>2009-01-14 11:41:22 +0100
commite9311545f5e101289a6d1f1b54eface70cf83717 (patch)
tree1297bf7d965b03b142bac02acc61a887e387bb28 /src/timer.h
parent525c507ac56815c295a3c671725c60bfe03baabc (diff)
playlist: safely search the playlist for deleted song
When a song file is deleted during database update, all pointers to it must be removed from the playlist. The "for" loop in deleteASongFromPlaylist() did not deal with multiple copies of the deleted song properly, and left instances of the (to-be-invalidated) pointer in. Fix this by reversing the loop.
Diffstat (limited to 'src/timer.h')
0 files changed, 0 insertions, 0 deletions