db/proxy: initialize LightSong::real_uri

Fixes potential crash.
This commit is contained in:
Max Kellermann 2014-06-21 12:37:23 +02:00
parent bb66cfa780
commit 936eb43c0e

View File

@ -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;