• Max Kellermann's avatar
    playlist: safely search the playlist for deleted song · 2c540ee8
    Max Kellermann authored
    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.
    2c540ee8
playlist.c 32.9 KB