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