PlaylistEdit, QueueSave: free the Song object after Append()
Fix for a major memory leak.
This commit is contained in:
@@ -128,4 +128,6 @@ queue_load_song(TextFile &file, const char *line, queue *queue)
|
||||
|
||||
if (db != nullptr)
|
||||
db->ReturnSong(song);
|
||||
else
|
||||
song->Free();
|
||||
}
|
||||
|
Reference in New Issue
Block a user