[MPlayer-users] PATCH: mplayer is leaking file descriptors
Marc Espie
espie at nerim.net
Tue Jun 4 13:38:02 CEST 2002
At least, close them in free_stream...
Index: stream.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.c,v
retrieving revision 1.35
diff -u -r1.35 stream.c
--- stream.c 20 May 2002 03:25:24 -0000 1.35
+++ stream.c 4 Jun 2002 11:36:38 -0000
@@ -260,6 +260,7 @@
waitpid(s->cache_pid,NULL,0);
}
if(s->priv) free(s->priv);
+ close(s->fd);
free(s);
}
More information about the MPlayer-users
mailing list