[linux-dvb] [PATCH] Memory leak in dem
Andrew de Quincey
adq_dvb at lidskialf.net
Tue Mar 28 12:33:08 CEST 2006
On Monday 27 March 2006 22:42, Trent Piepho wrote:
> There is a memory lead in the demuxer, it's possible to open the dvr0
> device several times, each time after the first will leak the dvr buffer.
> This patch fixes that by only allowing a single read mode open, which is
> what the API says should be the case. It's still possible to open multiple
> times in write mode. This doesn't seem to cause a problem and could be a
> useful thing to do. It would allow separate processes/threads to send
> audio/video/subtitles to a decoder.
> This is my first time using mercurial, so hopefully I got the patch format
Looks cool to me.
Anyone else have any problems with it? If not, I'll apply it tomorrow.
More information about the linux-dvb