aboutsummaryrefslogtreecommitdiffstats
path: root/src/DirectorySave.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/DirectorySave.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DirectorySave.cxx b/src/DirectorySave.cxx
index 1072b1e28..499f84734 100644
--- a/src/DirectorySave.cxx
+++ b/src/DirectorySave.cxx
@@ -145,7 +145,7 @@ directory_load(TextFile &file, Directory &directory, Error &error)
return false;
directory.AddSong(Song::NewFrom(std::move(*song),
- &directory));
+ directory));
delete song;
} else if (StringStartsWith(line, PLAYLIST_META_BEGIN)) {
const char *name = line + sizeof(PLAYLIST_META_BEGIN) - 1;