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:
Julien BLACHE 2009-12-08 19:53:53 +01:00
parent ab760903b1
commit 38c502cb7e

View File

@ -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);
}