diff options
author | Max Kellermann <max@duempel.org> | 2014-06-21 12:37:23 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-06-21 12:37:23 +0200 |
commit | 936eb43c0e00f6e8cee971cbdc2f0bf119e1034b (patch) | |
tree | 3d71a96b80e630c922a1dc1b90257252094b20c0 | |
parent | bb66cfa78079fbfef06741a584213f02085b08f7 (diff) | |
download | mpd-936eb43c0e00f6e8cee971cbdc2f0bf119e1034b.tar.gz mpd-936eb43c0e00f6e8cee971cbdc2f0bf119e1034b.tar.xz mpd-936eb43c0e00f6e8cee971cbdc2f0bf119e1034b.zip |
db/proxy: initialize LightSong::real_uri
Fixes potential crash.
Diffstat (limited to '')
-rw-r--r-- | src/db/plugins/ProxyDatabasePlugin.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx index a3cc640cf..368f0c8f7 100644 --- a/src/db/plugins/ProxyDatabasePlugin.cxx +++ b/src/db/plugins/ProxyDatabasePlugin.cxx @@ -184,6 +184,7 @@ ProxySong::ProxySong(const mpd_song *song) { directory = nullptr; uri = mpd_song_get_uri(song); + real_uri = nullptr; tag = &tag2; mtime = mpd_song_get_last_modified(song); start_ms = mpd_song_get_start(song) * 1000; |