aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/song.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.c b/src/song.c
index 0bdf40c02..9436df97c 100644
--- a/src/song.c
+++ b/src/song.c
@@ -70,7 +70,7 @@ Song *newSong(const char *url, enum song_type type, Directory * parentDir)
song->tag = plugin->tag_dup(abs_path);
}
if (!song->tag || song->tag->time < 0) {
- freeSong(song);
+ freeJustSong(song);
song = NULL;
}
}