Fix descriptor leak with a corrupted DSD file
Detected with cppcheck.
This commit is contained in:
parent
696b2c3e1d
commit
814b23ee59
@ -141,6 +141,7 @@ _get_dsftags(char *file, struct song_metadata *psong)
|
||||
|
||||
if (!pid3tag)
|
||||
{
|
||||
fclose(fp);
|
||||
free(id3tagbuf);
|
||||
err = errno;
|
||||
errno = err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user