diff options
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 9935643f5d..7040c2a129 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -3931,7 +3931,10 @@ static int pl_save_update_control(struct playlist_info* playlist, | |||
3931 | playlist->filename[playlist->dirlen-1] = c; | 3931 | playlist->filename[playlist->dirlen-1] = c; |
3932 | 3932 | ||
3933 | if (err <= 0) | 3933 | if (err <= 0) |
3934 | { | ||
3935 | close(old_fd); | ||
3934 | return -4; | 3936 | return -4; |
3937 | } | ||
3935 | 3938 | ||
3936 | if (playlist->first_index > 0) | 3939 | if (playlist->first_index > 0) |
3937 | { | 3940 | { |