mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-24 20:09:15 -05:00
Properly close the raw file that was streamed when cleaning up after streaming
Report & fix by Ace Jones <ace.jones1@yahoo.com>
This commit is contained in:
parent
ab760903b1
commit
38c502cb7e
@ -120,6 +120,9 @@ stream_end(struct stream_ctx *st, int failed)
|
||||
|
||||
if (st->xcode)
|
||||
transcode_cleanup(st->xcode);
|
||||
else
|
||||
close(st->fd);
|
||||
|
||||
free(st);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user