diff options
author | Max Kellermann <max@duempel.org> | 2014-01-08 19:21:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-08 19:49:27 +0100 |
commit | 2071070f39216accc02550102017e4f8abb9b5ea (patch) | |
tree | 0470aa32f02ff7b8ab27d77e015a93a0731c98e5 /src/playlist | |
parent | 89a78a5f3c4f648e9f20e83ac1d4769eff24c5b8 (diff) | |
download | mpd-2071070f39216accc02550102017e4f8abb9b5ea.tar.gz mpd-2071070f39216accc02550102017e4f8abb9b5ea.tar.xz mpd-2071070f39216accc02550102017e4f8abb9b5ea.zip |
DespotifyUtils: return Tag, not pointer
Diffstat (limited to 'src/playlist')
-rw-r--r-- | src/playlist/DespotifyPlaylistPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist/DespotifyPlaylistPlugin.cxx b/src/playlist/DespotifyPlaylistPlugin.cxx index f082778ab..67400e20a 100644 --- a/src/playlist/DespotifyPlaylistPlugin.cxx +++ b/src/playlist/DespotifyPlaylistPlugin.cxx @@ -53,7 +53,7 @@ add_song(std::forward_list<SongPointer> &songs, ds_track &track) } song = Song::NewRemote(uri); - song->tag = mpd_despotify_tag_from_track(track); + song->tag = new Tag(mpd_despotify_tag_from_track(track)); songs.emplace_front(song); } |