mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-24 06:05:56 -05:00
fix playlist fd leak
This commit is contained in:
parent
4e6219272a
commit
c0752c13ac
@ -418,6 +418,7 @@ int scan_static_playlist(char *path) {
|
||||
DPRINTF(E_LOG,L_SCAN,"Error adding m3u %s: %s\n",path,perr);
|
||||
free(perr);
|
||||
db_dispose_playlist(pm3u);
|
||||
close(fd);
|
||||
return FALSE;
|
||||
}
|
||||
/* now get the *real* base_path */
|
||||
|
Loading…
Reference in New Issue
Block a user