diff options
-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 a8ab4284f..cc1547d10 100644 --- a/src/song.c +++ b/src/song.c @@ -315,6 +315,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 |