diff options
Diffstat (limited to '')
-rw-r--r-- | src/song.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/song.c b/src/song.c index 1149da8bb..718c358e8 100644 --- a/src/song.c +++ b/src/song.c @@ -316,6 +316,9 @@ char *get_song_url(char *path_max_tmp, Song *song) { if (!song) return NULL; + + assert(song->url != NULL); + if (!song->parentDir || !song->parentDir->path) strcpy(path_max_tmp, song->url); else |