mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-25 21:53:17 -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);
|
DPRINTF(E_LOG,L_SCAN,"Error adding m3u %s: %s\n",path,perr);
|
||||||
free(perr);
|
free(perr);
|
||||||
db_dispose_playlist(pm3u);
|
db_dispose_playlist(pm3u);
|
||||||
|
close(fd);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
/* now get the *real* base_path */
|
/* now get the *real* base_path */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user