aboutsummaryrefslogtreecommitdiffstats
path: root/src/QueueSave.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/QueueSave.cxx')
-rw-r--r--src/QueueSave.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/QueueSave.cxx b/src/QueueSave.cxx
index 7fe985a69..c45390097 100644
--- a/src/QueueSave.cxx
+++ b/src/QueueSave.cxx
@@ -128,4 +128,6 @@ queue_load_song(TextFile &file, const char *line, queue *queue)
if (db != nullptr)
db->ReturnSong(song);
+ else
+ song->Free();
}