aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SongUpdate.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx
index c2d1f5fed..cf90fb9a2 100644
--- a/src/SongUpdate.cxx
+++ b/src/SongUpdate.cxx
@@ -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()) {