DetachedSong: check AllocatedPath::FromUTF8() result
This commit is contained in:
parent
fc2154ee92
commit
8211d4a1c2
|
@ -179,6 +179,8 @@ DetachedSong::Update()
|
|||
if (IsAbsoluteFile()) {
|
||||
const AllocatedPath path_fs =
|
||||
AllocatedPath::FromUTF8(GetRealURI());
|
||||
if (path_fs.IsNull())
|
||||
return false;
|
||||
|
||||
return LoadFile(path_fs);
|
||||
} else if (IsRemote()) {
|
||||
|
|
Loading…
Reference in New Issue