diff options
Diffstat (limited to 'src/playlist_save.c')
-rw-r--r-- | src/playlist_save.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/playlist_save.c b/src/playlist_save.c index 9c72e0aef..4ae965154 100644 --- a/src/playlist_save.c +++ b/src/playlist_save.c @@ -52,5 +52,6 @@ playlist_print_uri(FILE *file, const char *uri) else s = utf8_to_fs_charset(tmp, uri); - fprintf(file, "%s\n", s); + if (s != NULL) + fprintf(file, "%s\n", s); } |