summaryrefslogtreecommitdiff
path: root/src/decoder/DecoderThread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/DecoderThread.cxx')
-rw-r--r--src/decoder/DecoderThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/DecoderThread.cxx b/src/decoder/DecoderThread.cxx
index 715db8e88..1f08cc1ff 100644
--- a/src/decoder/DecoderThread.cxx
+++ b/src/decoder/DecoderThread.cxx
@@ -499,7 +499,7 @@ try {
const char *const uri_utf8 = song.GetRealURI();
Path path_fs = nullptr;
- AllocatedPath path_buffer = AllocatedPath::Null();
+ AllocatedPath path_buffer = nullptr;
if (PathTraitsUTF8::IsAbsolute(uri_utf8)) {
path_buffer = AllocatedPath::FromUTF8Throw(uri_utf8);
path_fs = path_buffer;