Max Kellermann d4d06da2f8 db/simple: fix dangling LightSong::tag reference in moved ExportedSong
After commit 1afa33c3c766af2, an old bug was revealed:
SimpleDatabase::GetSong() constructs an ExportedSong instance by
moving the return value of Song::Export(), which causes the
LightSong::tag field to be dangling on the moved-from
ExportedSong::tag_buffer.  This broke tags from CUE sheets.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1070
2021-02-15 17:38:37 +01:00
..
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2019-12-16 23:02:14 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00