diff options
Diffstat (limited to 'libmpdemux/stream.c')
-rw-r--r-- | libmpdemux/stream.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c index 871b0b34f5..f9d7b5dce1 100644 --- a/libmpdemux/stream.c +++ b/libmpdemux/stream.c @@ -259,6 +259,7 @@ void free_stream(stream_t *s){ kill(s->cache_pid,SIGKILL); waitpid(s->cache_pid,NULL,0); } + if(s->fd>0) close(s->fd); if(s->priv) free(s->priv); free(s); } |