mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 15:15:57 -05:00
fix fd leak in dynamic art
This commit is contained in:
parent
622171c1b1
commit
f1d35c7f3c
@ -692,6 +692,7 @@ void dispatch_stream(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) {
|
||||
((img_fd=da_get_image_fd(pmp3->path)) != -1)) {
|
||||
fstat(img_fd, &sb);
|
||||
img_size = sb.st_size;
|
||||
r_close(img_fd);
|
||||
|
||||
if (strncasecmp(pmp3->type,"mp3",4) ==0) {
|
||||
/*PENDING*/
|
||||
|
Loading…
Reference in New Issue
Block a user