From 936eb43c0e00f6e8cee971cbdc2f0bf119e1034b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 21 Jun 2014 12:37:23 +0200 Subject: db/proxy: initialize LightSong::real_uri Fixes potential crash. --- src/db/plugins/ProxyDatabasePlugin.cxx | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3