mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -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)) {
|
((img_fd=da_get_image_fd(pmp3->path)) != -1)) {
|
||||||
fstat(img_fd, &sb);
|
fstat(img_fd, &sb);
|
||||||
img_size = sb.st_size;
|
img_size = sb.st_size;
|
||||||
|
r_close(img_fd);
|
||||||
|
|
||||||
if (strncasecmp(pmp3->type,"mp3",4) ==0) {
|
if (strncasecmp(pmp3->type,"mp3",4) ==0) {
|
||||||
/*PENDING*/
|
/*PENDING*/
|
||||||
|
Loading…
Reference in New Issue
Block a user