Re: [PATCH] Memory leak in dem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> correct.

Looks cool to me.

Anyone else have any problems with it? If not, I'll apply it tomorrow.

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux