Commit 936eb43c authored by Max Kellermann's avatar Max Kellermann

db/proxy: initialize LightSong::real_uri

Fixes potential crash.
parent bb66cfa7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment