aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/song.c')
-rw-r--r--src/song.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.c b/src/song.c
index 7cf327080..d9b28284c 100644
--- a/src/song.c
+++ b/src/song.c
@@ -191,9 +191,9 @@ void insertSongIntoList(SongList * list, ListNode ** nextSongNode, char * key,
tempSong->tag = song->tag;
tempSong->mtime = song->mtime;
song->tag = NULL;
- freeJustSong(song);
addSongToTables(tempSong);
}
+ freeJustSong(song);
*nextSongNode = (*nextSongNode)->nextNode;
}
else {