file descriptor leak - found by Marc Espie <espie@nerim.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6301 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
cf0e1967a3
commit
3859bbd9fe
1 file changed
+1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user